[Libreoffice-commits] .: basic/source

François Tigeot ftigeot at kemper.freedesktop.org
Sat May 7 03:04:04 PDT 2011


 basic/source/app/msgedit.cxx |   16 ----------------
 1 file changed, 16 deletions(-)

New commits:
commit 8cea5f6c9dffc47a4baef3995b32e81783e30a41
Author: Francois Tigeot <ftigeot at wolfpond.org>
Date:   Sat May 7 11:58:23 2011 +0200

    Do not convert file names to FSYS_STYLE_VFAT

diff --git a/basic/source/app/msgedit.cxx b/basic/source/app/msgedit.cxx
index 0093e0d..f5d2bb0 100644
--- a/basic/source/app/msgedit.cxx
+++ b/basic/source/app/msgedit.cxx
@@ -110,19 +110,6 @@ void MsgEdit::AddAnyMsg( TTLogMsg *LogMsg )
     if ( LogMsg->aDebugData.aFilename.Copy(0,2).CompareToAscii( "--" ) == COMPARE_EQUAL )
         LogMsg->aDebugData.aFilename.Erase(0,2);
 
-    if ( LogMsg->aDebugData.aFilename.Len() && LogMsg->aDebugData.aFilename.GetChar(0) != '~' ) // do we want to convert
-    {
-        DirEntry aConvert( LogMsg->aDebugData.aFilename );
-        if ( pAppError->aBaseDir.Contains( aConvert ) )
-        {
-            LogMsg->aDebugData.aFilename = CUniString("~");         // mark as converted
-            LogMsg->aDebugData.aFilename += aConvert.GetFull( FSYS_STYLE_VFAT );
-        }
-        else if ( !bFileLoading )
-        {
-            LogMsg->aDebugData.aFilename.Insert( CUniString("~-"), 0); // mark as unconvertable
-        }
-    }
     xub_StrLen nPos;
     LogMsg->aDebugData.aMsg.ConvertLineEnd();
     // does the message have several lines -> repeat the call for each line
@@ -756,9 +743,6 @@ sal_Bool TTTreeListBox::JumpToSourcecode( SvLBoxEntry *pThisEntry )
             else
             {
                 aFilename.Erase( 0,1 );
-                DirEntry aConvert( pAppError->aBaseDir );
-                aConvert += DirEntry( aFilename, FSYS_STYLE_VFAT );
-                aFilename = aConvert.GetFull();
             }
         }
 


More information about the Libreoffice-commits mailing list