User: hr      
Date: 06/06/19 20:00:35

Modified:
 /dba/dbaccess/source/ui/control/
  opendoccontrols.cxx

Log:
 INTEGRATION: CWS warnings01 (1.3.50); FILE MERGED
 2006/03/24 15:36:07 fs 1.3.50.1: #i57457# warning-free code (unxlngi6/.pro + 
unxsoli4.pro)

File Changes:

Directory: /dba/dbaccess/source/ui/control/
===========================================

File [changed]: opendoccontrols.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/control/opendoccontrols.cxx?r1=1.3&r2=1.4
Delta lines:  +4 -4
-------------------
--- opendoccontrols.cxx 8 Sep 2005 14:35:26 -0000       1.3
+++ opendoccontrols.cxx 20 Jun 2006 03:00:33 -0000      1.4
@@ -304,14 +304,14 @@
                     if ( !sTitle.Len() )
                         sTitle = aURL.getName();
 
-                    String sURL = aURL.GetMainURL( INetURLObject::NO_DECODE );
+                    String sDecodedURL = aURL.GetMainURL( 
INetURLObject::NO_DECODE );
 
 //                    sTitle.AppendAscii( " (" );
-//                    sTitle += String( ::svt::OFileNotation( sURL ).get( 
::svt::OFileNotation::N_SYSTEM ) );
+//                    sTitle += String( ::svt::OFileNotation( sDecodedURL 
).get( ::svt::OFileNotation::N_SYSTEM ) );
 //                    sTitle.AppendAscii( ")" );
 
                     USHORT nPos = InsertEntry( sTitle );
-                    m_aURLs.insert( MapIndexToStringPair::value_type( nPos, 
StringPair( sURL, sFilter ) ) );
+                    m_aURLs.insert( MapIndexToStringPair::value_type( nPos, 
StringPair( sDecodedURL, sFilter ) ) );
                 }
             }
             catch( Exception& rException )
@@ -369,7 +369,7 @@
             return;
 
         Point aRequestPos( ScreenToOutputPixel( _rHEvt.GetMousePosPixel() ) );
-        USHORT nItemIndex = -1;
+        USHORT nItemIndex = LISTBOX_ENTRY_NOTFOUND;
         if ( GetIndexForPoint( aRequestPos, nItemIndex ) != -1 )
         {
             Rectangle aItemRect( GetBoundingRectangle( nItemIndex ) );




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to