summaryrefslogtreecommitdiff
path: root/automation/source
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
commitee67f0766d9d399d1937897db9c686897ffec4b1 (patch)
tree195b03e5632e11498bcb950a3c9ecad277feff48 /automation/source
parentba14049431253ac9f2967040a097bcfe779b92c8 (diff)
No more FSYS_STYLE_VFAT nonsense
Diffstat (limited to 'automation/source')
-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 94866c5be..d23ea6c7c 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