diff options
author | Francois Tigeot <ftigeot@wolfpond.org> | 2011-05-07 11:58:23 +0200 |
---|---|---|
committer | Francois Tigeot <ftigeot@wolfpond.org> | 2011-05-07 12:02:50 +0200 |
commit | eacd5aa2b529537cd42fb9a2e6b3255b9f15b683 (patch) | |
tree | 4bfcd00bafa7ce04da8d5e3ba365e1da10bdc50a /basic/source/app | |
parent | d433e1634de609b5680472eeb28806de3bfd933b (diff) |
Do not convert file names to FSYS_STYLE_VFAT
Diffstat (limited to 'basic/source/app')
-rw-r--r-- | basic/source/app/msgedit.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/basic/source/app/msgedit.cxx b/basic/source/app/msgedit.cxx index 625ed80e1925..1cd6f8fc5e25 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(); } } |