[Libreoffice-commits] core.git: tools/source

Stephan Bergmann sbergman at redhat.com
Fri Oct 11 01:08:29 PDT 2013


 tools/source/stream/strmunx.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 015c00b62f948920e7fc9eb280420cf2558b8fa8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Oct 11 10:07:47 2013 +0200

    -Werror,-Wunused-variable
    
    Change-Id: Ia49c97f3ccecf42852e21f0a3690352b9620e16c

diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx
index 24eacee..d3b44df 100644
--- a/tools/source/stream/strmunx.cxx
+++ b/tools/source/stream/strmunx.cxx
@@ -494,9 +494,9 @@ void SvFileStream::Open( const OUString& rFilename, StreamMode nOpenMode )
     eStreamMode &= ~STREAM_TRUNC; // don't truncat on reopen
 
     aFilename = rFilename;
-    OString aLocalFilename(OUStringToOString(aFilename, osl_getThreadTextEncoding()));
 
 #ifdef DBG_UTIL
+    OString aLocalFilename(OUStringToOString(aFilename, osl_getThreadTextEncoding()));
     OStringBuffer aTraceStr("SvFileStream::Open(): ");
     aTraceStr.append(aLocalFilename);
     OSL_TRACE( "%s", aTraceStr.getStr() );


More information about the Libreoffice-commits mailing list