[Libreoffice-commits] core.git: tools/source
Andras Timar
atimar at suse.com
Thu Apr 4 12:01:41 PDT 2013
tools/source/stream/strmunx.cxx | 3 ---
tools/source/stream/strmwnt.cxx | 3 ---
2 files changed, 6 deletions(-)
New commits:
commit 622509e47d778bd5e56f620266d5725daf02a90d
Author: Andras Timar <atimar at suse.com>
Date: Thu Apr 4 20:02:13 2013 +0200
remove useless comments
Change-Id: I90757f0d6ccdded30a49a3c54cd6bbc2f65dc755
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx
index 562cf80..08ac006 100644
--- a/tools/source/stream/strmunx.cxx
+++ b/tools/source/stream/strmunx.cxx
@@ -502,9 +502,6 @@ void SvFileStream::Open( const String& rFilename, StreamMode nOpenMode )
eStreamMode = nOpenMode;
eStreamMode &= ~STREAM_TRUNC; // don't truncat on reopen
-// !!! NoOp: use ToAbs()
-// !!! DirEntry aDirEntry( rFilename );
-// !!! aFilename = aDirEntry.GetFull();
aFilename = rFilename;
rtl::OString aLocalFilename(rtl::OUStringToOString(aFilename, osl_getThreadTextEncoding()));
diff --git a/tools/source/stream/strmwnt.cxx b/tools/source/stream/strmwnt.cxx
index a0e05bb..847b7a9 100644
--- a/tools/source/stream/strmwnt.cxx
+++ b/tools/source/stream/strmwnt.cxx
@@ -279,9 +279,6 @@ void SvFileStream::Open( const String& rFilename, StreamMode nMode )
eStreamMode = nMode;
eStreamMode &= ~STREAM_TRUNC; // don't truncate on reopen
- // !!! NoOp: Use ToAbs() otherwise
- // !!! DirEntry aDirEntry( rFilename );
- // !!! aFilename = aDirEntry.GetFull();
aFilename = aParsedFilename;
rtl::OString aFileNameA(rtl::OUStringToOString(aFilename, osl_getThreadTextEncoding()));
SetLastError( ERROR_SUCCESS ); // might be changed by Redirector
More information about the Libreoffice-commits
mailing list