[Libreoffice-commits] .: automation/source
François Tigeot
ftigeot at kemper.freedesktop.org
Sat May 7 05:00:20 PDT 2011
automation/source/testtool/objtest.cxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit ee67f0766d9d399d1937897db9c686897ffec4b1
Author: Francois Tigeot <ftigeot at wolfpond.org>
Date: Sat May 7 13:58:31 2011 +0200
No more FSYS_STYLE_VFAT nonsense
diff --git a/automation/source/testtool/objtest.cxx b/automation/source/testtool/objtest.cxx
index 94866c5..d23ea6c 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
More information about the Libreoffice-commits
mailing list