diff options
author | Lars Langhans <lla@openoffice.org> | 2001-07-26 06:10:28 +0000 |
---|---|---|
committer | Lars Langhans <lla@openoffice.org> | 2001-07-26 06:10:28 +0000 |
commit | 09899f7c5e7ac2f6f572f8737bda00189fb001d3 (patch) | |
tree | b43829b4f66387c2205c051b6972ef662dad5868 /configmgr | |
parent | e076450427f5566134b32c6015639bf4e8ef729d (diff) |
Changes to compile simpletest.cxx
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/workben/local_io/makefile.mk | 5 | ||||
-rw-r--r-- | configmgr/workben/local_io/simpletest.cxx | 19 |
2 files changed, 17 insertions, 7 deletions
diff --git a/configmgr/workben/local_io/makefile.mk b/configmgr/workben/local_io/makefile.mk index 20c4864da1aa..a4c42fdb3ee0 100644 --- a/configmgr/workben/local_io/makefile.mk +++ b/configmgr/workben/local_io/makefile.mk @@ -2,9 +2,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.4 $ +# $Revision: 1.5 $ # -# last change: $Author: lla $ $Date: 2001-06-15 08:29:44 $ +# last change: $Author: lla $ $Date: 2001-07-26 07:10:28 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -108,6 +108,7 @@ APP1OBJS= \ $(SLO)$/simpletest.obj \ $(SLO)$/strimpl.obj \ $(SLO)$/confname.obj \ + $(SLO)$/trivialbufferedfile.obj \ # $(SLO)$/xmlexport.obj \ # $(SLO)$/xmlimport.obj \ diff --git a/configmgr/workben/local_io/simpletest.cxx b/configmgr/workben/local_io/simpletest.cxx index 473b1a549f71..d03df5155ef2 100644 --- a/configmgr/workben/local_io/simpletest.cxx +++ b/configmgr/workben/local_io/simpletest.cxx @@ -2,9 +2,9 @@ * * $RCSfile: simpletest.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: lla $ $Date: 2001-06-15 08:29:44 $ + * last change: $Author: lla $ $Date: 2001-07-26 07:10:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,6 +62,8 @@ #include <memory> #include <vector> #include <stack> +#include <map> +#include <hash_map> #ifndef _OSL_FILE_HXX_ #include<osl/file.hxx> @@ -165,7 +167,7 @@ #include "xmltreebuilder.hxx" -#include "dataimport.hxx" +// #include "dataimport.hxx" #include "createpropertyvalue.hxx" @@ -194,7 +196,7 @@ using namespace ::com::sun::star::xml::sax; using namespace ::com::sun::star::io; using namespace rtl; using namespace osl; - +using namespace std; // ----------------------------------------------------------------------------- // ---------------------------------- defines ---------------------------------- // ----------------------------------------------------------------------------- @@ -296,6 +298,7 @@ namespace configmgr #define ASCII_STRING(rtlOUString) rtl::OUStringToOString(rtlOUString, RTL_TEXTENCODING_ASCII_US).getStr() static ::rtl::OUString sRegistry = ::rtl::OUString::createFromAscii("applicat.rdb"); +/* void simpleTest() { uno::Reference< lang::XMultiServiceFactory > xMSF; @@ -380,7 +383,7 @@ namespace configmgr nRet = 5; } } - +*/ #include <osl/time.h> #include <rtl/string.hxx> @@ -822,6 +825,12 @@ void oslTest() } + OUString aDirectory3(FileHelper::convertFilenameToFileURL(ASCII("F:/Tst/StarOffice6.0/share/config"))); + + OUString aDirectory4(ASCII("file:///F:/T%EF%BF%A4st/StarOffice6.0/share/config")); + osl::FileBase::RC eError = osl::Directory::create(aDirectory4); + + /* OUString aDirectory(FileHelper::convertFilenameToFileURL(ASCII("c:/temp/dies"))); osl::FileBase::RC eError = osl::Directory::create(aDirectory); |