[Libreoffice-commits] .: automation/source

François Tigeot ftigeot at kemper.freedesktop.org
Sat May 7 06:56:49 PDT 2011


 automation/source/testtool/objtest.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit ea326ab4696f65bf883d495d0f6c4e943a2e6bfe
Author: Francois Tigeot <ftigeot at wolfpond.org>
Date:   Sat May 7 15:54:49 2011 +0200

    Bis repetita

diff --git a/automation/source/testtool/objtest.cxx b/automation/source/testtool/objtest.cxx
index d23ea6c..fbbdf1c 100644
--- a/automation/source/testtool/objtest.cxx
+++ b/automation/source/testtool/objtest.cxx
@@ -1758,7 +1758,11 @@ void TestToolObj::SFX_NOTIFY( SfxBroadcaster&, const TypeId&,
                     if ( rPar && rPar->Count() >= 2 )
                     {
                         SbxVariableRef pArg = rPar->Get( 1 );
-                        DirEntry FilePath(pArg->GetString(),FSYS_STYLE_VFAT);
+                    #if defined(WNT)
+                        DirEntry FilePath(pArg->GetString(),FSYS_STYLE_NTFS);
+                    #else
+                        DirEntry FilePath(pArg->GetString(),FSYS_STYLE_UNX);
+                    #endif
                         if ( !FilePath.IsAbs() )
                             FilePath = pImpl->aFileBase + FilePath;
                         String Ext = FilePath.GetExtension();


More information about the Libreoffice-commits mailing list