Commits

kso  committed da0ed62

Ooops. Last revision did not compile.

  • Participants
  • Parent commits 3119c9f

Comments (0)

Files changed (1)

File fpicker/source/office/iodlg.cxx

         String sText;
         DBG_ASSERT( INET_PROT_NOT_VALID != aObj.GetProtocol(), "SvtFileDialog::UpdateControls: Invalid URL!" );
 
-        sal_Int32 nCount = aObj.getSegmentCount();
-        if ( nCount )
+        if ( aObj.getSegmentCount() )
         {
             ::utl::LocalFileHelper::ConvertURLToSystemPath( rURL, sText );
             if ( sText.Len() )
             // happens, for instance, for URLs which the INetURLObject does not know to belong to a hierarchical scheme
             sText = rURL;
 
-        if ( sText.EqualsAscii( "\\\\.\\" ) // Windows file system root?
+        if ( sText.EqualsAscii( "\\\\.\\" ) ) // Windows file system root?
              sText.Erase(); // do not display technical stuff that is not understandable by normal users.
 
         _pImp->_pFtCurrentPath->SetText( sText );