diff options
author | Matthias Huetsch <mhu@openoffice.org> | 2001-03-19 10:58:32 +0000 |
---|---|---|
committer | Matthias Huetsch <mhu@openoffice.org> | 2001-03-19 10:58:32 +0000 |
commit | 930d13f0378d4af14463d22c0dab4b7497441872 (patch) | |
tree | 6c50db5de52e5b060a5fc6ff9f837109234337a0 /store | |
parent | b1ffe111c98d03bda7be7422236998930c19805d (diff) |
Disabled last change (using osl::File path routines).
Diffstat (limited to 'store')
-rw-r--r-- | store/source/filelckb.cxx | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/store/source/filelckb.cxx b/store/source/filelckb.cxx index 92403d2685e3..91d7cbe1f1e5 100644 --- a/store/source/filelckb.cxx +++ b/store/source/filelckb.cxx @@ -2,9 +2,9 @@ * * $RCSfile: filelckb.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: mhu $ $Date: 2001-03-15 15:34:05 $ + * last change: $Author: mhu $ $Date: 2001-03-19 11:58:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -59,7 +59,7 @@ * ************************************************************************/ -#define _STORE_FILELCKB_CXX_ "$Revision: 1.4 $" +#define _STORE_FILELCKB_CXX_ "$Revision: 1.5 $" #ifndef _SAL_TYPES_H_ #include <sal/types.h> @@ -506,6 +506,8 @@ inline storeError OFileLockBytes_Impl::create ( inline storeError OFileLockBytes_Impl::create ( rtl_uString *pFilename, storeAccessMode eAccessMode) { +#if 0 /* NEW */ + oslFileError result; rtl::OUString aNormPath; @@ -536,6 +538,16 @@ inline storeError OFileLockBytes_Impl::create ( aSystemPath.pData->length, osl_getThreadTextEncoding()); +#endif /* NEW */ +#if 1 /* OLD */ + + rtl::OString aFilename ( + pFilename->buffer, + pFilename->length, + osl_getThreadTextEncoding()); + +#endif /* OLD */ + return create (aFilename.pData->buffer, eAccessMode); } |