summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--automation/source/testtool/objtest.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/automation/source/testtool/objtest.cxx b/automation/source/testtool/objtest.cxx
index a5287b35a82c..521af9a39524 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();