diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-10-17 12:31:01 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-10-17 12:31:01 +0000 |
commit | af91f9416d98ab31e1a89f7e54f1d2a2bdaa02e8 (patch) | |
tree | 89a61ef781c983ba772485c17984d6723c0fea59 /rdbmaker/source | |
parent | 2b69089ecca62b4484197e77a8ac4df292f6f98d (diff) |
INTEGRATION: CWS jscpp1 (1.3.12); FILE MERGED
2005/08/10 07:39:41 jsc 1.3.12.1: #i41875# integrate patch, use osl::FileBase::createTempFile
Diffstat (limited to 'rdbmaker/source')
-rw-r--r-- | rdbmaker/source/codemaker/typemanager.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/rdbmaker/source/codemaker/typemanager.cxx b/rdbmaker/source/codemaker/typemanager.cxx index 5a7f1f378a6a..e4cb49ffa5e1 100644 --- a/rdbmaker/source/codemaker/typemanager.cxx +++ b/rdbmaker/source/codemaker/typemanager.cxx @@ -4,9 +4,9 @@ * * $RCSfile: typemanager.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-09 05:04:44 $ + * last change: $Author: rt $ $Date: 2005-10-17 13:31:01 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -36,6 +36,9 @@ #ifndef _RTL_ALLOC_H_ #include <rtl/alloc.h> #endif +#ifndef _OSL_FILE_HXX_ +#include <osl/file.hxx> +#endif #ifndef _CODEMAKER_TYPEMANAGER_HXX_ #include <codemaker/typemanager.hxx> @@ -134,9 +137,10 @@ sal_Bool RegistryTypeManager::init(sal_Bool bMerged, const StringVector& regFile if (m_pImpl->m_isMerged) { Registry *pTmpReg = new Registry(loader); - OString tmpName(makeTempName(NULL)); - if (!pTmpReg->create( convertToFileUrl(tmpName) ) ) + OUString tmpName; + osl::FileBase::createTempFile(0, 0, &tmpName); + if (!pTmpReg->create(tmpName)) { RegistryKey rootKey; RegError ret = REG_NO_ERROR; |