summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorFrancois Tigeot <ftigeot@wolfpond.org>2011-05-07 15:54:49 +0200
committerFrancois Tigeot <ftigeot@wolfpond.org>2011-05-07 15:54:49 +0200
commit6119d4ef78f395dba8c72ee71fcad856791079f1 (patch)
tree266cfb2aa62034b5b1ee3c23c1bb4dea6fbf42c3 /automation
parent33c122a6c7cc8fe2547286f0269891c0429a7c04 (diff)
Bis repetita
Diffstat (limited to 'automation')
-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();