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

Noel Power noel.power at suse.com
Fri Mar 8 04:43:35 PST 2013


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

New commits:
commit 916d898209449bc88edfbf0d7a727bd0945124b7
Author: Noel Power <noel.power at suse.com>
Date:   Fri Mar 8 12:42:20 2013 +0000

    fix regression reading OleStorages ( over THRESHOLD size )
    
    Change-Id: I26daefd898873037325c02d96018890ebc7cb1b6

diff --git a/tools/source/fsys/tempfile.cxx b/tools/source/fsys/tempfile.cxx
index 1a1da1e..ab80c70 100644
--- a/tools/source/fsys/tempfile.cxx
+++ b/tools/source/fsys/tempfile.cxx
@@ -79,7 +79,7 @@ OUString ConstructTempDir_Impl( const String* pParent )
         // if no parent or invalid parent : use system directory
         ::rtl::OUString& rTempNameBase_Impl = TempNameBase_Impl::get();
         if ( rTempNameBase_Impl.isEmpty() )
-            rTempNameBase_Impl = GetSystemTempDirPath_Impl();
+            osl::FileBase::getTempDirURL( rTempNameBase_Impl );
         aName = rTempNameBase_Impl;
     }
 


More information about the Libreoffice-commits mailing list