summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorFrancois Tigeot <ftigeot@wolfpond.org>2011-05-07 13:58:31 +0200
committerFrancois Tigeot <ftigeot@wolfpond.org>2011-05-07 13:59:38 +0200
commit33c122a6c7cc8fe2547286f0269891c0429a7c04 (patch)
treef8cc60df11da5b98c16f53e3007959202a46d6bb /automation
parentf38cebcb168625853db594fe26603eff0d5b00d7 (diff)
No more FSYS_STYLE_VFAT nonsense
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 7569c69f3be3..a5287b35a82c 100644
--- a/automation/source/testtool/objtest.cxx
+++ b/automation/source/testtool/objtest.cxx
@@ -1614,7 +1614,11 @@ void TestToolObj::SFX_NOTIFY( SfxBroadcaster&, const TypeId&,
if ( rPar && rPar->Count() >= 2 ) // Genau ein Parameter
{
SbxVariableRef pArg = rPar->Get( 1 );
- DirEntry FilePath = pImpl->aFileBase + DirEntry(pArg->GetString(),FSYS_STYLE_VFAT);
+ #if defined(WNT)
+ DirEntry FilePath = pImpl->aFileBase + DirEntry(pArg->GetString(),FSYS_STYLE_NTFS);
+ #else
+ DirEntry FilePath = pImpl->aFileBase + DirEntry(pArg->GetString(),FSYS_STYLE_UNX);
+ #endif
WriteNamesBin( FilePath.GetFull(), m_pSIds, m_pControls );
}
else