From 6119d4ef78f395dba8c72ee71fcad856791079f1 Mon Sep 17 00:00:00 2001 From: Francois Tigeot Date: Sat, 7 May 2011 15:54:49 +0200 Subject: Bis repetita --- automation/source/testtool/objtest.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'automation/source') 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(); -- cgit