URE headers do not have "using rtl::OUString"

Change-Id: I525b93371dbd89dafa6916f7c3696423f44753f6
This commit is contained in:
Stephan Bergmann 2013-12-18 15:36:41 +01:00
parent 33b59c5557
commit f0e7b79db7
7 changed files with 219 additions and 219 deletions

View File

@ -141,13 +141,13 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getDocumentation() const { rtl::OUString getDocumentation() const {
rtl_uString * s = 0; rtl_uString * s = 0;
typereg_reader_getDocumentation(m_handle, &s); typereg_reader_getDocumentation(m_handle, &s);
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -159,13 +159,13 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
@deprecated @deprecated
*/ */
OUString getFileName() const { rtl::OUString getFileName() const {
rtl_uString * s = 0; rtl_uString * s = 0;
typereg_reader_getFileName(m_handle, &s); typereg_reader_getFileName(m_handle, &s);
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -200,13 +200,13 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getTypeName() const { rtl::OUString getTypeName() const {
rtl_uString * s = 0; rtl_uString * s = 0;
typereg_reader_getTypeName(m_handle, &s); typereg_reader_getTypeName(m_handle, &s);
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -229,13 +229,13 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getSuperTypeName(sal_uInt16 index) const { rtl::OUString getSuperTypeName(sal_uInt16 index) const {
rtl_uString * s = 0; rtl_uString * s = 0;
typereg_reader_getSuperTypeName(m_handle, &s, index); typereg_reader_getSuperTypeName(m_handle, &s, index);
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -257,13 +257,13 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getFieldDocumentation(sal_uInt16 index) const { rtl::OUString getFieldDocumentation(sal_uInt16 index) const {
rtl_uString * s = 0; rtl_uString * s = 0;
typereg_reader_getFieldDocumentation(m_handle, &s, index); typereg_reader_getFieldDocumentation(m_handle, &s, index);
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -276,13 +276,13 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
@deprecated @deprecated
*/ */
OUString getFieldFileName(sal_uInt16 index) const { rtl::OUString getFieldFileName(sal_uInt16 index) const {
rtl_uString * s = 0; rtl_uString * s = 0;
typereg_reader_getFieldFileName(m_handle, &s, index); typereg_reader_getFieldFileName(m_handle, &s, index);
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -305,13 +305,13 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getFieldName(sal_uInt16 index) const { rtl::OUString getFieldName(sal_uInt16 index) const {
rtl_uString * s = 0; rtl_uString * s = 0;
typereg_reader_getFieldName(m_handle, &s, index); typereg_reader_getFieldName(m_handle, &s, index);
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -323,13 +323,13 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getFieldTypeName(sal_uInt16 index) const { rtl::OUString getFieldTypeName(sal_uInt16 index) const {
rtl_uString * s = 0; rtl_uString * s = 0;
typereg_reader_getFieldTypeName(m_handle, &s, index); typereg_reader_getFieldTypeName(m_handle, &s, index);
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -370,13 +370,13 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getMethodDocumentation(sal_uInt16 index) const { rtl::OUString getMethodDocumentation(sal_uInt16 index) const {
rtl_uString * s = 0; rtl_uString * s = 0;
typereg_reader_getMethodDocumentation(m_handle, &s, index); typereg_reader_getMethodDocumentation(m_handle, &s, index);
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -399,13 +399,13 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getMethodName(sal_uInt16 index) const { rtl::OUString getMethodName(sal_uInt16 index) const {
rtl_uString * s = 0; rtl_uString * s = 0;
typereg_reader_getMethodName(m_handle, &s, index); typereg_reader_getMethodName(m_handle, &s, index);
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -417,13 +417,13 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getMethodReturnTypeName(sal_uInt16 index) const { rtl::OUString getMethodReturnTypeName(sal_uInt16 index) const {
rtl_uString * s = 0; rtl_uString * s = 0;
typereg_reader_getMethodReturnTypeName(m_handle, &s, index); typereg_reader_getMethodReturnTypeName(m_handle, &s, index);
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -468,7 +468,7 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getMethodParameterName( rtl::OUString getMethodParameterName(
sal_uInt16 methodIndex, sal_uInt16 parameterIndex) const sal_uInt16 methodIndex, sal_uInt16 parameterIndex) const
{ {
rtl_uString * s = 0; rtl_uString * s = 0;
@ -477,7 +477,7 @@ public:
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -493,7 +493,7 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getMethodParameterTypeName( rtl::OUString getMethodParameterTypeName(
sal_uInt16 methodIndex, sal_uInt16 parameterIndex) const sal_uInt16 methodIndex, sal_uInt16 parameterIndex) const
{ {
rtl_uString * s = 0; rtl_uString * s = 0;
@ -502,7 +502,7 @@ public:
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -529,7 +529,7 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getMethodExceptionTypeName( rtl::OUString getMethodExceptionTypeName(
sal_uInt16 methodIndex, sal_uInt16 exceptionIndex) const sal_uInt16 methodIndex, sal_uInt16 exceptionIndex) const
{ {
rtl_uString * s = 0; rtl_uString * s = 0;
@ -538,7 +538,7 @@ public:
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -561,13 +561,13 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getReferenceDocumentation(sal_uInt16 index) const { rtl::OUString getReferenceDocumentation(sal_uInt16 index) const {
rtl_uString * s = 0; rtl_uString * s = 0;
typereg_reader_getReferenceDocumentation(m_handle, &s, index); typereg_reader_getReferenceDocumentation(m_handle, &s, index);
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
/** /**
@ -604,13 +604,13 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
OUString getReferenceTypeName(sal_uInt16 index) const { rtl::OUString getReferenceTypeName(sal_uInt16 index) const {
rtl_uString * s = 0; rtl_uString * s = 0;
typereg_reader_getReferenceTypeName(m_handle, &s, index); typereg_reader_getReferenceTypeName(m_handle, &s, index);
if (s == 0) { if (s == 0) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
return OUString(s, SAL_NO_ACQUIRE); return rtl::OUString(s, SAL_NO_ACQUIRE);
} }
private: private:

View File

@ -151,11 +151,11 @@ public:
/** returns the full qualified name of the type. /** returns the full qualified name of the type.
*/ */
inline OUString getTypeName() const; inline rtl::OUString getTypeName() const;
/** returns the full qualified name of the supertype. /** returns the full qualified name of the supertype.
*/ */
inline OUString getSuperTypeName() const; inline rtl::OUString getSuperTypeName() const;
/** @deprecated /** @deprecated
returns the unique identifier for an interface type as an out parameter. returns the unique identifier for an interface type as an out parameter.
@ -168,11 +168,11 @@ public:
/** returns the documentation string of this type. /** returns the documentation string of this type.
*/ */
inline OUString getDoku() const; inline rtl::OUString getDoku() const;
/** returns the IDL filename where the type is defined. /** returns the IDL filename where the type is defined.
*/ */
inline OUString getFileName() const; inline rtl::OUString getFileName() const;
/** returns the number of fields (attributes/properties, enum values or number /** returns the number of fields (attributes/properties, enum values or number
of constants in a module). of constants in a module).
@ -182,11 +182,11 @@ public:
/** returns the name of the field specified by index. /** returns the name of the field specified by index.
*/ */
inline OUString getFieldName( sal_uInt16 index ) const; inline rtl::OUString getFieldName( sal_uInt16 index ) const;
/** returns the full qualified name of the field specified by index. /** returns the full qualified name of the field specified by index.
*/ */
inline OUString getFieldType( sal_uInt16 index ) const; inline rtl::OUString getFieldType( sal_uInt16 index ) const;
/** returns the access mode of the field specified by index. /** returns the access mode of the field specified by index.
*/ */
@ -202,14 +202,14 @@ public:
Each field of a type can have their own documentation. Each field of a type can have their own documentation.
*/ */
inline OUString getFieldDoku( sal_uInt16 index ) const; inline rtl::OUString getFieldDoku( sal_uInt16 index ) const;
/** returns the IDL filename of the field specified by index. /** returns the IDL filename of the field specified by index.
The IDL filename of a field can differ from the filename of the ype itself The IDL filename of a field can differ from the filename of the ype itself
because modules and also constants can be defined in different IDL files. because modules and also constants can be defined in different IDL files.
*/ */
inline OUString getFieldFileName( sal_uInt16 index ) const; inline rtl::OUString getFieldFileName( sal_uInt16 index ) const;
/** returns the number of methods of an interface type. /** returns the number of methods of an interface type.
*/ */
@ -217,7 +217,7 @@ public:
/** returns the name of the method specified by index. /** returns the name of the method specified by index.
*/ */
inline OUString getMethodName( sal_uInt16 index ) const; inline rtl::OUString getMethodName( sal_uInt16 index ) const;
/** returns number of parameters of the method specified by index. /** returns number of parameters of the method specified by index.
*/ */
@ -228,14 +228,14 @@ public:
@param index indicates the method @param index indicates the method
@param paramIndex indeciates the parameter which type will be returned. @param paramIndex indeciates the parameter which type will be returned.
*/ */
inline OUString getMethodParamType( sal_uInt16 index, sal_uInt16 paramIndex ) const; inline rtl::OUString getMethodParamType( sal_uInt16 index, sal_uInt16 paramIndex ) const;
/** returns the name of a parameter. /** returns the name of a parameter.
@param index indicates the method @param index indicates the method
@param paramIndex indiciates the parameter which name will be returned. @param paramIndex indiciates the parameter which name will be returned.
*/ */
inline OUString getMethodParamName( sal_uInt16 index, sal_uInt16 paramIndex ) const; inline rtl::OUString getMethodParamName( sal_uInt16 index, sal_uInt16 paramIndex ) const;
/** returns the parameter mode, if it is an in, out or inout parameter. /** returns the parameter mode, if it is an in, out or inout parameter.
@ -255,11 +255,11 @@ public:
@param index indicates the method @param index indicates the method
@param excIndex indeciates the exception which typename will be returned. @param excIndex indeciates the exception which typename will be returned.
*/ */
inline OUString getMethodExcType( sal_uInt16 index, sal_uInt16 excIndex ) const; inline rtl::OUString getMethodExcType( sal_uInt16 index, sal_uInt16 excIndex ) const;
/** returns the full qualified return type of the method specified by index. /** returns the full qualified return type of the method specified by index.
*/ */
inline OUString getMethodReturnType( sal_uInt16 index ) const; inline rtl::OUString getMethodReturnType( sal_uInt16 index ) const;
/** returns the full qualified exception type of the specified exception. /** returns the full qualified exception type of the specified exception.
@ -271,7 +271,7 @@ public:
@param index indicates the method. @param index indicates the method.
*/ */
inline OUString getMethodDoku( sal_uInt16 index ) const; inline rtl::OUString getMethodDoku( sal_uInt16 index ) const;
/** returns the number of references (supported interfaces, exported services). /** returns the number of references (supported interfaces, exported services).
*/ */
@ -281,7 +281,7 @@ public:
@param index indicates the reference. @param index indicates the reference.
*/ */
inline OUString getReferenceName( sal_uInt16 index ) const; inline rtl::OUString getReferenceName( sal_uInt16 index ) const;
/** returns the type of the reference specified by index. /** returns the type of the reference specified by index.
@ -293,7 +293,7 @@ public:
@param index indicates the reference. @param index indicates the reference.
*/ */
inline OUString getReferenceDoku( sal_uInt16 index ) const; inline rtl::OUString getReferenceDoku( sal_uInt16 index ) const;
/** returns the access mode of the reference specified by index. /** returns the access mode of the reference specified by index.
@ -356,16 +356,16 @@ inline sal_uInt16 RegistryTypeReader::getMajorVersion() const
inline RTTypeClass RegistryTypeReader::getTypeClass() const inline RTTypeClass RegistryTypeReader::getTypeClass() const
{ return m_pApi->getTypeClass(m_hImpl); } { return m_pApi->getTypeClass(m_hImpl); }
inline OUString RegistryTypeReader::getTypeName() const inline rtl::OUString RegistryTypeReader::getTypeName() const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getTypeName(m_hImpl, &sRet.pData); m_pApi->getTypeName(m_hImpl, &sRet.pData);
return sRet; return sRet;
} }
inline OUString RegistryTypeReader::getSuperTypeName() const inline rtl::OUString RegistryTypeReader::getSuperTypeName() const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getSuperTypeName(m_hImpl, &sRet.pData); m_pApi->getSuperTypeName(m_hImpl, &sRet.pData);
return sRet; return sRet;
} }
@ -373,16 +373,16 @@ inline OUString RegistryTypeReader::getSuperTypeName() const
inline void RegistryTypeReader::getUik(RTUik& uik) const inline void RegistryTypeReader::getUik(RTUik& uik) const
{ m_pApi->getUik(m_hImpl, &uik); } { m_pApi->getUik(m_hImpl, &uik); }
inline OUString RegistryTypeReader::getDoku() const inline rtl::OUString RegistryTypeReader::getDoku() const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getDoku(m_hImpl, &sRet.pData); m_pApi->getDoku(m_hImpl, &sRet.pData);
return sRet; return sRet;
} }
inline OUString RegistryTypeReader::getFileName() const inline rtl::OUString RegistryTypeReader::getFileName() const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getFileName(m_hImpl, &sRet.pData); m_pApi->getFileName(m_hImpl, &sRet.pData);
return sRet; return sRet;
} }
@ -390,16 +390,16 @@ inline OUString RegistryTypeReader::getFileName() const
inline sal_uInt32 RegistryTypeReader::getFieldCount() const inline sal_uInt32 RegistryTypeReader::getFieldCount() const
{ return m_pApi->getFieldCount(m_hImpl); } { return m_pApi->getFieldCount(m_hImpl); }
inline OUString RegistryTypeReader::getFieldName( sal_uInt16 index ) const inline rtl::OUString RegistryTypeReader::getFieldName( sal_uInt16 index ) const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getFieldName(m_hImpl, &sRet.pData, index); m_pApi->getFieldName(m_hImpl, &sRet.pData, index);
return sRet; return sRet;
} }
inline OUString RegistryTypeReader::getFieldType( sal_uInt16 index ) const inline rtl::OUString RegistryTypeReader::getFieldType( sal_uInt16 index ) const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getFieldType(m_hImpl, &sRet.pData, index); m_pApi->getFieldType(m_hImpl, &sRet.pData, index);
return sRet; return sRet;
} }
@ -414,16 +414,16 @@ inline RTConstValue RegistryTypeReader::getFieldConstValue( sal_uInt16 index ) c
return ret; return ret;
} }
inline OUString RegistryTypeReader::getFieldDoku( sal_uInt16 index ) const inline rtl::OUString RegistryTypeReader::getFieldDoku( sal_uInt16 index ) const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getFieldDoku(m_hImpl, &sRet.pData, index); m_pApi->getFieldDoku(m_hImpl, &sRet.pData, index);
return sRet; return sRet;
} }
inline OUString RegistryTypeReader::getFieldFileName( sal_uInt16 index ) const inline rtl::OUString RegistryTypeReader::getFieldFileName( sal_uInt16 index ) const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getFieldFileName(m_hImpl, &sRet.pData, index); m_pApi->getFieldFileName(m_hImpl, &sRet.pData, index);
return sRet; return sRet;
} }
@ -431,9 +431,9 @@ inline OUString RegistryTypeReader::getFieldFileName( sal_uInt16 index ) const
inline sal_uInt32 RegistryTypeReader::getMethodCount() const inline sal_uInt32 RegistryTypeReader::getMethodCount() const
{ return m_pApi->getMethodCount(m_hImpl); } { return m_pApi->getMethodCount(m_hImpl); }
inline OUString RegistryTypeReader::getMethodName( sal_uInt16 index ) const inline rtl::OUString RegistryTypeReader::getMethodName( sal_uInt16 index ) const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getMethodName(m_hImpl, &sRet.pData, index); m_pApi->getMethodName(m_hImpl, &sRet.pData, index);
return sRet; return sRet;
} }
@ -441,16 +441,16 @@ inline OUString RegistryTypeReader::getMethodName( sal_uInt16 index ) const
inline sal_uInt32 RegistryTypeReader::getMethodParamCount( sal_uInt16 index ) const inline sal_uInt32 RegistryTypeReader::getMethodParamCount( sal_uInt16 index ) const
{ return m_pApi->getMethodParamCount(m_hImpl, index); } { return m_pApi->getMethodParamCount(m_hImpl, index); }
inline OUString RegistryTypeReader::getMethodParamType( sal_uInt16 index, sal_uInt16 paramIndex ) const inline rtl::OUString RegistryTypeReader::getMethodParamType( sal_uInt16 index, sal_uInt16 paramIndex ) const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getMethodParamType(m_hImpl, &sRet.pData, index, paramIndex); m_pApi->getMethodParamType(m_hImpl, &sRet.pData, index, paramIndex);
return sRet; return sRet;
} }
inline OUString RegistryTypeReader::getMethodParamName( sal_uInt16 index, sal_uInt16 paramIndex ) const inline rtl::OUString RegistryTypeReader::getMethodParamName( sal_uInt16 index, sal_uInt16 paramIndex ) const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getMethodParamName(m_hImpl, &sRet.pData, index, paramIndex); m_pApi->getMethodParamName(m_hImpl, &sRet.pData, index, paramIndex);
return sRet; return sRet;
} }
@ -461,16 +461,16 @@ inline RTParamMode RegistryTypeReader::getMethodParamMode( sal_uInt16 index, sal
inline sal_uInt32 RegistryTypeReader::getMethodExcCount( sal_uInt16 index ) const inline sal_uInt32 RegistryTypeReader::getMethodExcCount( sal_uInt16 index ) const
{ return m_pApi->getMethodExcCount(m_hImpl, index); } { return m_pApi->getMethodExcCount(m_hImpl, index); }
inline OUString RegistryTypeReader::getMethodExcType( sal_uInt16 index, sal_uInt16 excIndex ) const inline rtl::OUString RegistryTypeReader::getMethodExcType( sal_uInt16 index, sal_uInt16 excIndex ) const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getMethodExcType(m_hImpl, &sRet.pData, index, excIndex); m_pApi->getMethodExcType(m_hImpl, &sRet.pData, index, excIndex);
return sRet; return sRet;
} }
inline OUString RegistryTypeReader::getMethodReturnType( sal_uInt16 index ) const inline rtl::OUString RegistryTypeReader::getMethodReturnType( sal_uInt16 index ) const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getMethodReturnType(m_hImpl, &sRet.pData, index); m_pApi->getMethodReturnType(m_hImpl, &sRet.pData, index);
return sRet; return sRet;
} }
@ -478,9 +478,9 @@ inline OUString RegistryTypeReader::getMethodReturnType( sal_uInt16 index ) cons
inline RTMethodMode RegistryTypeReader::getMethodMode( sal_uInt16 index ) const inline RTMethodMode RegistryTypeReader::getMethodMode( sal_uInt16 index ) const
{ return m_pApi->getMethodMode(m_hImpl, index); } { return m_pApi->getMethodMode(m_hImpl, index); }
inline OUString RegistryTypeReader::getMethodDoku( sal_uInt16 index ) const inline rtl::OUString RegistryTypeReader::getMethodDoku( sal_uInt16 index ) const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getMethodDoku(m_hImpl, &sRet.pData, index); m_pApi->getMethodDoku(m_hImpl, &sRet.pData, index);
return sRet; return sRet;
} }
@ -488,9 +488,9 @@ inline OUString RegistryTypeReader::getMethodDoku( sal_uInt16 index ) const
inline sal_uInt32 RegistryTypeReader::getReferenceCount() const inline sal_uInt32 RegistryTypeReader::getReferenceCount() const
{ return m_pApi->getReferenceCount(m_hImpl); } { return m_pApi->getReferenceCount(m_hImpl); }
inline OUString RegistryTypeReader::getReferenceName( sal_uInt16 index ) const inline rtl::OUString RegistryTypeReader::getReferenceName( sal_uInt16 index ) const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getReferenceName(m_hImpl, &sRet.pData, index); m_pApi->getReferenceName(m_hImpl, &sRet.pData, index);
return sRet; return sRet;
} }
@ -498,9 +498,9 @@ inline OUString RegistryTypeReader::getReferenceName( sal_uInt16 index ) const
inline RTReferenceType RegistryTypeReader::getReferenceType( sal_uInt16 index ) const inline RTReferenceType RegistryTypeReader::getReferenceType( sal_uInt16 index ) const
{ return m_pApi->getReferenceType(m_hImpl, index); } { return m_pApi->getReferenceType(m_hImpl, index); }
inline OUString RegistryTypeReader::getReferenceDoku( sal_uInt16 index ) const inline rtl::OUString RegistryTypeReader::getReferenceDoku( sal_uInt16 index ) const
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getReferenceDoku(m_hImpl, &sRet.pData, index); m_pApi->getReferenceDoku(m_hImpl, &sRet.pData, index);
return sRet; return sRet;
} }

View File

@ -94,8 +94,8 @@ public:
exported services ...) exported services ...)
*/ */
inline RegistryTypeWriter(RTTypeClass RTTypeClass, inline RegistryTypeWriter(RTTypeClass RTTypeClass,
const OUString& typeName, const rtl::OUString& typeName,
const OUString& superTypeName, const rtl::OUString& superTypeName,
sal_uInt16 fieldCount, sal_uInt16 fieldCount,
sal_uInt16 methodCount, sal_uInt16 methodCount,
sal_uInt16 referenceCount); sal_uInt16 referenceCount);
@ -126,11 +126,11 @@ public:
This documentation should be the same as the documentation which is provided This documentation should be the same as the documentation which is provided
for this type in IDL. for this type in IDL.
*/ */
inline void setDoku(const OUString& doku); inline void setDoku(const rtl::OUString& doku);
/** sets the IDL filename where this type is defined. /** sets the IDL filename where this type is defined.
*/ */
inline void setFileName(const OUString& fileName); inline void setFileName(const rtl::OUString& fileName);
/** sets the data for a field member of a type blob. /** sets the data for a field member of a type blob.
@ -144,10 +144,10 @@ public:
for enum values or constants. for enum values or constants.
*/ */
inline void setFieldData( sal_uInt16 index, inline void setFieldData( sal_uInt16 index,
const OUString& name, const rtl::OUString& name,
const OUString& typeName, const rtl::OUString& typeName,
const OUString& doku, const rtl::OUString& doku,
const OUString& fileName, const rtl::OUString& fileName,
RTFieldAccess access, RTFieldAccess access,
RTConstValue constValue = RTConstValue()); RTConstValue constValue = RTConstValue());
@ -162,12 +162,12 @@ public:
@param doku specifies the documentation string of the field. @param doku specifies the documentation string of the field.
*/ */
inline void setMethodData(sal_uInt16 index, inline void setMethodData(sal_uInt16 index,
const OUString& name, const rtl::OUString& name,
const OUString& returnTypeName, const rtl::OUString& returnTypeName,
RTMethodMode mode, RTMethodMode mode,
sal_uInt16 paramCount, sal_uInt16 paramCount,
sal_uInt16 excCount, sal_uInt16 excCount,
const OUString& doku); const rtl::OUString& doku);
/** sets the data for the specified parameter of a method. /** sets the data for the specified parameter of a method.
@ -179,8 +179,8 @@ public:
*/ */
inline void setParamData(sal_uInt16 index, inline void setParamData(sal_uInt16 index,
sal_uInt16 paramIndex, sal_uInt16 paramIndex,
const OUString& type, const rtl::OUString& type,
const OUString& name, const rtl::OUString& name,
RTParamMode mode); RTParamMode mode);
/** sets the data for the specified exception of a mehtod. /** sets the data for the specified exception of a mehtod.
@ -191,7 +191,7 @@ public:
*/ */
inline void setExcData(sal_uInt16 index, inline void setExcData(sal_uInt16 index,
sal_uInt16 excIndex, sal_uInt16 excIndex,
const OUString& type); const rtl::OUString& type);
/** returns a pointer to the new type blob. /** returns a pointer to the new type blob.
@ -213,9 +213,9 @@ public:
@param access specifies the access mode of the reference. @param access specifies the access mode of the reference.
*/ */
inline void setReferenceData( sal_uInt16 index, inline void setReferenceData( sal_uInt16 index,
const OUString& name, const rtl::OUString& name,
RTReferenceType refType, RTReferenceType refType,
const OUString& doku, const rtl::OUString& doku,
RTFieldAccess access = RT_ACCESS_INVALID); RTFieldAccess access = RT_ACCESS_INVALID);
protected: protected:
@ -229,8 +229,8 @@ protected:
inline RegistryTypeWriter::RegistryTypeWriter(RTTypeClass RTTypeClass, inline RegistryTypeWriter::RegistryTypeWriter(RTTypeClass RTTypeClass,
const OUString& typeName, const rtl::OUString& typeName,
const OUString& superTypeName, const rtl::OUString& superTypeName,
sal_uInt16 fieldCount, sal_uInt16 fieldCount,
sal_uInt16 methodCount, sal_uInt16 methodCount,
sal_uInt16 referenceCount) sal_uInt16 referenceCount)
@ -271,10 +271,10 @@ inline RegistryTypeWriter& RegistryTypeWriter::operator == (const RegistryTypeWr
} }
inline void RegistryTypeWriter::setFieldData( sal_uInt16 index, inline void RegistryTypeWriter::setFieldData( sal_uInt16 index,
const OUString& name, const rtl::OUString& name,
const OUString& typeName, const rtl::OUString& typeName,
const OUString& doku, const rtl::OUString& doku,
const OUString& fileName, const rtl::OUString& fileName,
RTFieldAccess access, RTFieldAccess access,
RTConstValue constValue) RTConstValue constValue)
{ {
@ -283,12 +283,12 @@ inline void RegistryTypeWriter::setFieldData( sal_uInt16 index,
inline void RegistryTypeWriter::setMethodData(sal_uInt16 index, inline void RegistryTypeWriter::setMethodData(sal_uInt16 index,
const OUString& name, const rtl::OUString& name,
const OUString& returnTypeName, const rtl::OUString& returnTypeName,
RTMethodMode mode, RTMethodMode mode,
sal_uInt16 paramCount, sal_uInt16 paramCount,
sal_uInt16 excCount, sal_uInt16 excCount,
const OUString& doku) const rtl::OUString& doku)
{ {
m_pApi->setMethodData(m_hImpl, index, name.pData, returnTypeName.pData, mode, paramCount, excCount, doku.pData); m_pApi->setMethodData(m_hImpl, index, name.pData, returnTypeName.pData, mode, paramCount, excCount, doku.pData);
} }
@ -299,20 +299,20 @@ inline void RegistryTypeWriter::setUik(const RTUik& uik)
m_pApi->setUik(m_hImpl, &uik); m_pApi->setUik(m_hImpl, &uik);
} }
inline void RegistryTypeWriter::setDoku(const OUString& doku) inline void RegistryTypeWriter::setDoku(const rtl::OUString& doku)
{ {
m_pApi->setDoku(m_hImpl, doku.pData); m_pApi->setDoku(m_hImpl, doku.pData);
} }
inline void RegistryTypeWriter::setFileName(const OUString& doku) inline void RegistryTypeWriter::setFileName(const rtl::OUString& doku)
{ {
m_pApi->setFileName(m_hImpl, doku.pData); m_pApi->setFileName(m_hImpl, doku.pData);
} }
inline void RegistryTypeWriter::setParamData(sal_uInt16 index, inline void RegistryTypeWriter::setParamData(sal_uInt16 index,
sal_uInt16 paramIndex, sal_uInt16 paramIndex,
const OUString& type, const rtl::OUString& type,
const OUString& name, const rtl::OUString& name,
RTParamMode mode) RTParamMode mode)
{ {
m_pApi->setParamData(m_hImpl, index, paramIndex, type.pData, name.pData, mode); m_pApi->setParamData(m_hImpl, index, paramIndex, type.pData, name.pData, mode);
@ -320,7 +320,7 @@ inline void RegistryTypeWriter::setParamData(sal_uInt16 index,
inline void RegistryTypeWriter::setExcData(sal_uInt16 index, inline void RegistryTypeWriter::setExcData(sal_uInt16 index,
sal_uInt16 excIndex, sal_uInt16 excIndex,
const OUString& type) const rtl::OUString& type)
{ {
m_pApi->setExcData(m_hImpl, index, excIndex, type.pData); m_pApi->setExcData(m_hImpl, index, excIndex, type.pData);
} }
@ -337,9 +337,9 @@ inline sal_uInt32 RegistryTypeWriter::getBlopSize()
inline void RegistryTypeWriter::setReferenceData( sal_uInt16 index, inline void RegistryTypeWriter::setReferenceData( sal_uInt16 index,
const OUString& name, const rtl::OUString& name,
RTReferenceType refType, RTReferenceType refType,
const OUString& doku, const rtl::OUString& doku,
RTFieldAccess access) RTFieldAccess access)
{ {
m_pApi->setReferenceData(m_hImpl, index, name.pData, refType, doku.pData, access); m_pApi->setReferenceData(m_hImpl, index, name.pData, refType, doku.pData, access);

View File

@ -126,14 +126,14 @@ public:
inline RegError openRootKey(RegistryKey& rRootKey); inline RegError openRootKey(RegistryKey& rRootKey);
/// returns the name of the current registry data file. /// returns the name of the current registry data file.
inline OUString getName(); inline rtl::OUString getName();
/** creates a new registry with the specified name and creates a root key. /** creates a new registry with the specified name and creates a root key.
@param registryName specifies the name of the new registry. @param registryName specifies the name of the new registry.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError create(const OUString& registryName); inline RegError create(const rtl::OUString& registryName);
/** opens a registry with the specified name. /** opens a registry with the specified name.
@ -142,7 +142,7 @@ public:
@param accessMode specifies the access mode for the registry, REG_READONLY or REG_READWRITE. @param accessMode specifies the access mode for the registry, REG_READONLY or REG_READWRITE.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError open(const OUString& registryName, inline RegError open(const rtl::OUString& registryName,
RegAccessMode accessMode); RegAccessMode accessMode);
/// closes explicitly the current registry data file. /// closes explicitly the current registry data file.
@ -154,7 +154,7 @@ public:
itselfs will be destroyed. itselfs will be destroyed.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError destroy(const OUString& registryName); inline RegError destroy(const rtl::OUString& registryName);
/** loads registry information from a specified file and save it under the /** loads registry information from a specified file and save it under the
specified keyName. specified keyName.
@ -168,8 +168,8 @@ public:
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError loadKey(RegistryKey& rKey, inline RegError loadKey(RegistryKey& rKey,
const OUString& keyName, const rtl::OUString& keyName,
const OUString& regFileName); const rtl::OUString& regFileName);
/** saves the registry information of the specified key and all subkeys and save /** saves the registry information of the specified key and all subkeys and save
it in the specified file. it in the specified file.
@ -183,8 +183,8 @@ public:
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError saveKey(RegistryKey& rKey, inline RegError saveKey(RegistryKey& rKey,
const OUString& keyName, const rtl::OUString& keyName,
const OUString& regFileName); const rtl::OUString& regFileName);
/** merges the registry information of the specified key with the registry /** merges the registry information of the specified key with the registry
information of the specified file. information of the specified file.
@ -202,8 +202,8 @@ public:
restore the state before merging. restore the state before merging.
*/ */
inline RegError mergeKey(RegistryKey& rKey, inline RegError mergeKey(RegistryKey& rKey,
const OUString& keyName, const rtl::OUString& keyName,
const OUString& regFileName, const rtl::OUString& regFileName,
sal_Bool bWarnings = sal_False, sal_Bool bWarnings = sal_False,
sal_Bool bReport = sal_False); sal_Bool bReport = sal_False);
@ -287,7 +287,7 @@ public:
inline ~RegistryKeyNames(); inline ~RegistryKeyNames();
/// returns the name of the key sepecified by index. /// returns the name of the key sepecified by index.
inline OUString getElement(sal_uInt32 index); inline rtl::OUString getElement(sal_uInt32 index);
/// returns the length of the array. /// returns the length of the array.
inline sal_uInt32 getLength(); inline sal_uInt32 getLength();
@ -417,7 +417,7 @@ public:
inline sal_Bool isReadOnly() const; inline sal_Bool isReadOnly() const;
/// returns the full qualified name of the key beginning with the rootkey. /// returns the full qualified name of the key beginning with the rootkey.
inline OUString getName(); inline rtl::OUString getName();
/** creates a new key or opens a key if the specified key already exists. /** creates a new key or opens a key if the specified key already exists.
@ -426,7 +426,7 @@ public:
@param rNewKey references a RegistryKey which will be filled with the new or open key. @param rNewKey references a RegistryKey which will be filled with the new or open key.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError createKey(const OUString& keyName, inline RegError createKey(const rtl::OUString& keyName,
RegistryKey& rNewKey); RegistryKey& rNewKey);
/** opens the specified key. /** opens the specified key.
@ -436,7 +436,7 @@ public:
@param rOpenKey references a RegistryKey which will be filled with the open key. @param rOpenKey references a RegistryKey which will be filled with the open key.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError openKey(const OUString& keyName, inline RegError openKey(const rtl::OUString& keyName,
RegistryKey& rOpenKey); RegistryKey& rOpenKey);
/** opens all subkeys of the specified key. /** opens all subkeys of the specified key.
@ -446,7 +446,7 @@ public:
@param rSubKeys reference a RegistryKeyArray which will be filled with the open subkeys. @param rSubKeys reference a RegistryKeyArray which will be filled with the open subkeys.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError openSubKeys(const OUString& keyName, inline RegError openSubKeys(const rtl::OUString& keyName,
RegistryKeyArray& rSubKeys); RegistryKeyArray& rSubKeys);
/** returns an array with the names of all subkeys of the specified key. /** returns an array with the names of all subkeys of the specified key.
@ -456,7 +456,7 @@ public:
@param rSubKeyNames reference a RegistryKeyNames array which will be filled with the subkey names. @param rSubKeyNames reference a RegistryKeyNames array which will be filled with the subkey names.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError getKeyNames(const OUString& keyName, inline RegError getKeyNames(const rtl::OUString& keyName,
RegistryKeyNames& rSubKeyNames); RegistryKeyNames& rSubKeyNames);
/** closes all keys specified in the array. /** closes all keys specified in the array.
@ -471,7 +471,7 @@ public:
@param keyName specifies the name of the key which will be deleted. @param keyName specifies the name of the key which will be deleted.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError deleteKey(const OUString& keyName); inline RegError deleteKey(const rtl::OUString& keyName);
/// closes explicitly the current key /// closes explicitly the current key
inline RegError closeKey(); inline RegError closeKey();
@ -489,7 +489,7 @@ public:
@param valueSize specifies the size of pData in bytes @param valueSize specifies the size of pData in bytes
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError setValue(const OUString& keyName, inline RegError setValue(const rtl::OUString& keyName,
RegValueType valueType, RegValueType valueType,
RegValue pValue, RegValue pValue,
sal_uInt32 valueSize); sal_uInt32 valueSize);
@ -503,7 +503,7 @@ public:
@param len specifies the length of the list (the array referenced by pValueList). @param len specifies the length of the list (the array referenced by pValueList).
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError setLongListValue(const OUString& keyName, inline RegError setLongListValue(const rtl::OUString& keyName,
sal_Int32* pValueList, sal_Int32* pValueList,
sal_uInt32 len); sal_uInt32 len);
@ -516,7 +516,7 @@ public:
@param len specifies the length of the list (the array referenced by pValueList). @param len specifies the length of the list (the array referenced by pValueList).
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError setStringListValue(const OUString& keyName, inline RegError setStringListValue(const rtl::OUString& keyName,
sal_Char** pValueList, sal_Char** pValueList,
sal_uInt32 len); sal_uInt32 len);
@ -529,7 +529,7 @@ public:
@param len specifies the length of the list (the array referenced by pValueList). @param len specifies the length of the list (the array referenced by pValueList).
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError setUnicodeListValue(const OUString& keyName, inline RegError setUnicodeListValue(const rtl::OUString& keyName,
sal_Unicode** pValueList, sal_Unicode** pValueList,
sal_uInt32 len); sal_uInt32 len);
@ -542,7 +542,7 @@ public:
@param pValueSize returns the size of the value in bytes or the length of a list value. @param pValueSize returns the size of the value in bytes or the length of a list value.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError getValueInfo(const OUString& keyName, inline RegError getValueInfo(const rtl::OUString& keyName,
RegValueType* pValueType, RegValueType* pValueType,
sal_uInt32* pValueSize); sal_uInt32* pValueSize);
@ -554,7 +554,7 @@ public:
@param pValue points to an allocated memory block receiving the data of the value. @param pValue points to an allocated memory block receiving the data of the value.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError getValue(const OUString& keyName, inline RegError getValue(const rtl::OUString& keyName,
RegValue pValue); RegValue pValue);
/** gets a long list value of a key. /** gets a long list value of a key.
@ -565,7 +565,7 @@ public:
@param rValueList references a RegistryValueList which will be filled with the long values. @param rValueList references a RegistryValueList which will be filled with the long values.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError getLongListValue(const OUString& keyName, inline RegError getLongListValue(const rtl::OUString& keyName,
RegistryValueList<sal_Int32>& rValueList); RegistryValueList<sal_Int32>& rValueList);
/** gets an ascii list value of a key. /** gets an ascii list value of a key.
@ -576,7 +576,7 @@ public:
@param rValueList references a RegistryValueList which will be filled with the ascii values. @param rValueList references a RegistryValueList which will be filled with the ascii values.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError getStringListValue(const OUString& keyName, inline RegError getStringListValue(const rtl::OUString& keyName,
RegistryValueList<sal_Char*>& rValueList); RegistryValueList<sal_Char*>& rValueList);
/** gets a unicode value of a key. /** gets a unicode value of a key.
@ -587,7 +587,7 @@ public:
@param rValueList reference a RegistryValueList which will be filled with the unicode values. @param rValueList reference a RegistryValueList which will be filled with the unicode values.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError getUnicodeListValue(const OUString& keyName, inline RegError getUnicodeListValue(const rtl::OUString& keyName,
RegistryValueList<sal_Unicode*>& rValueList); RegistryValueList<sal_Unicode*>& rValueList);
/** used to create a link. /** used to create a link.
@ -596,8 +596,8 @@ public:
@return REG_INVALID_LINK @return REG_INVALID_LINK
*/ */
inline RegError createLink(const OUString& linkName, inline RegError createLink(const rtl::OUString& linkName,
const OUString& linkTarget); const rtl::OUString& linkTarget);
/** used to delete a link. /** used to delete a link.
@ -605,7 +605,7 @@ public:
@return REG_INVALID_LINK @return REG_INVALID_LINK
*/ */
inline RegError deleteLink(const OUString& linkName); inline RegError deleteLink(const rtl::OUString& linkName);
/** returns the type of the specified key. /** returns the type of the specified key.
@ -613,7 +613,7 @@ public:
@param pKeyType returns the type of the key (always RG_KEYTYPE). @param pKeyType returns the type of the key (always RG_KEYTYPE).
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError getKeyType(const OUString& name, inline RegError getKeyType(const rtl::OUString& name,
RegKeyType* pKeyType) const; RegKeyType* pKeyType) const;
/** used to return the target of a link. /** used to return the target of a link.
@ -622,8 +622,8 @@ public:
@return REG_INVALID_LINK @return REG_INVALID_LINK
*/ */
inline RegError getLinkTarget(const OUString& linkName, inline RegError getLinkTarget(const rtl::OUString& linkName,
OUString& rLinkTarget) const; rtl::OUString& rLinkTarget) const;
/** resolves a keyname. /** resolves a keyname.
@ -633,12 +633,12 @@ public:
@param[out] rResolvedName the resolved name. @param[out] rResolvedName the resolved name.
@return REG_NO_ERROR if succeeds else an error code. @return REG_NO_ERROR if succeeds else an error code.
*/ */
inline RegError getResolvedKeyName(const OUString& keyName, inline RegError getResolvedKeyName(const rtl::OUString& keyName,
sal_Bool firstLinkOnly, sal_Bool firstLinkOnly,
OUString& rResolvedName) const; rtl::OUString& rResolvedName) const;
/// returns the name of the registry in which the key is defined. /// returns the name of the registry in which the key is defined.
inline OUString getRegistryName(); inline rtl::OUString getRegistryName();
/// returns the registry in which the key is defined. /// returns the registry in which the key is defined.
Registry getRegistry() const { return m_registry; } Registry getRegistry() const { return m_registry; }
@ -736,13 +736,13 @@ inline RegistryKeyNames::~RegistryKeyNames()
m_registry.m_pApi->freeKeyNames(m_pKeyNames, m_length); m_registry.m_pApi->freeKeyNames(m_pKeyNames, m_length);
} }
inline OUString RegistryKeyNames::getElement(sal_uInt32 index) inline rtl::OUString RegistryKeyNames::getElement(sal_uInt32 index)
{ {
if (m_pKeyNames && index < m_length) if (m_pKeyNames && index < m_length)
return m_pKeyNames[index]; return m_pKeyNames[index];
else else
return OUString(); return rtl::OUString();
} }
inline sal_uInt32 RegistryKeyNames::getLength() inline sal_uInt32 RegistryKeyNames::getLength()
@ -834,15 +834,15 @@ inline sal_Bool RegistryKey::isReadOnly() const
return sal_False; return sal_False;
} }
inline OUString RegistryKey::getName() inline rtl::OUString RegistryKey::getName()
{ {
OUString sRet; rtl::OUString sRet;
if (m_registry.isValid()) if (m_registry.isValid())
m_registry.m_pApi->getKeyName(m_hImpl, &sRet.pData); m_registry.m_pApi->getKeyName(m_hImpl, &sRet.pData);
return sRet; return sRet;
} }
inline RegError RegistryKey::createKey(const OUString& keyName, inline RegError RegistryKey::createKey(const rtl::OUString& keyName,
RegistryKey& rNewKey) RegistryKey& rNewKey)
{ {
if (rNewKey.isValid()) rNewKey.closeKey(); if (rNewKey.isValid()) rNewKey.closeKey();
@ -855,7 +855,7 @@ inline RegError RegistryKey::createKey(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::openKey(const OUString& keyName, inline RegError RegistryKey::openKey(const rtl::OUString& keyName,
RegistryKey& rOpenKey) RegistryKey& rOpenKey)
{ {
if (rOpenKey.isValid()) rOpenKey.closeKey(); if (rOpenKey.isValid()) rOpenKey.closeKey();
@ -869,7 +869,7 @@ inline RegError RegistryKey::openKey(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::openSubKeys(const OUString& keyName, inline RegError RegistryKey::openSubKeys(const rtl::OUString& keyName,
RegistryKeyArray& rSubKeys) RegistryKeyArray& rSubKeys)
{ {
if (m_registry.isValid()) if (m_registry.isValid())
@ -891,7 +891,7 @@ inline RegError RegistryKey::openSubKeys(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::getKeyNames(const OUString& keyName, inline RegError RegistryKey::getKeyNames(const rtl::OUString& keyName,
RegistryKeyNames& rSubKeyNames) RegistryKeyNames& rSubKeyNames)
{ {
if (m_registry.isValid()) if (m_registry.isValid())
@ -921,7 +921,7 @@ inline RegError RegistryKey::closeSubKeys(RegistryKeyArray& rSubKeys)
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::deleteKey(const OUString& keyName) inline RegError RegistryKey::deleteKey(const rtl::OUString& keyName)
{ {
if (m_registry.isValid()) if (m_registry.isValid())
return m_registry.m_pApi->deleteKey(m_hImpl, keyName.pData); return m_registry.m_pApi->deleteKey(m_hImpl, keyName.pData);
@ -952,7 +952,7 @@ inline void RegistryKey::releaseKey()
} }
} }
inline RegError RegistryKey::setValue(const OUString& keyName, inline RegError RegistryKey::setValue(const rtl::OUString& keyName,
RegValueType valueType, RegValueType valueType,
RegValue pValue, RegValue pValue,
sal_uInt32 valueSize) sal_uInt32 valueSize)
@ -964,7 +964,7 @@ inline RegError RegistryKey::setValue(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::setLongListValue(const OUString& keyName, inline RegError RegistryKey::setLongListValue(const rtl::OUString& keyName,
sal_Int32* pValueList, sal_Int32* pValueList,
sal_uInt32 len) sal_uInt32 len)
{ {
@ -975,7 +975,7 @@ inline RegError RegistryKey::setLongListValue(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::setStringListValue(const OUString& keyName, inline RegError RegistryKey::setStringListValue(const rtl::OUString& keyName,
sal_Char** pValueList, sal_Char** pValueList,
sal_uInt32 len) sal_uInt32 len)
{ {
@ -986,7 +986,7 @@ inline RegError RegistryKey::setStringListValue(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::setUnicodeListValue(const OUString& keyName, inline RegError RegistryKey::setUnicodeListValue(const rtl::OUString& keyName,
sal_Unicode** pValueList, sal_Unicode** pValueList,
sal_uInt32 len) sal_uInt32 len)
{ {
@ -997,7 +997,7 @@ inline RegError RegistryKey::setUnicodeListValue(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::getValueInfo(const OUString& keyName, inline RegError RegistryKey::getValueInfo(const rtl::OUString& keyName,
RegValueType* pValueType, RegValueType* pValueType,
sal_uInt32* pValueSize) sal_uInt32* pValueSize)
{ {
@ -1007,7 +1007,7 @@ inline RegError RegistryKey::getValueInfo(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::getValue(const OUString& keyName, inline RegError RegistryKey::getValue(const rtl::OUString& keyName,
RegValue pValue) RegValue pValue)
{ {
if (m_registry.isValid()) if (m_registry.isValid())
@ -1016,7 +1016,7 @@ inline RegError RegistryKey::getValue(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::getLongListValue(const OUString& keyName, inline RegError RegistryKey::getLongListValue(const rtl::OUString& keyName,
RegistryValueList<sal_Int32>& rValueList) RegistryValueList<sal_Int32>& rValueList)
{ {
if (m_registry.isValid()) if (m_registry.isValid())
@ -1039,7 +1039,7 @@ inline RegError RegistryKey::getLongListValue(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::getStringListValue(const OUString& keyName, inline RegError RegistryKey::getStringListValue(const rtl::OUString& keyName,
RegistryValueList<sal_Char*>& rValueList) RegistryValueList<sal_Char*>& rValueList)
{ {
if (m_registry.isValid()) if (m_registry.isValid())
@ -1062,7 +1062,7 @@ inline RegError RegistryKey::getStringListValue(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::getUnicodeListValue(const OUString& keyName, inline RegError RegistryKey::getUnicodeListValue(const rtl::OUString& keyName,
RegistryValueList<sal_Unicode*>& rValueList) RegistryValueList<sal_Unicode*>& rValueList)
{ {
if (m_registry.isValid()) if (m_registry.isValid())
@ -1085,8 +1085,8 @@ inline RegError RegistryKey::getUnicodeListValue(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::createLink(const OUString& linkName, inline RegError RegistryKey::createLink(const rtl::OUString& linkName,
const OUString& linkTarget) const rtl::OUString& linkTarget)
{ {
if (m_registry.isValid()) if (m_registry.isValid())
return m_registry.m_pApi->createLink(m_hImpl, linkName.pData, linkTarget.pData); return m_registry.m_pApi->createLink(m_hImpl, linkName.pData, linkTarget.pData);
@ -1094,7 +1094,7 @@ inline RegError RegistryKey::createLink(const OUString& linkName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::deleteLink(const OUString& linkName) inline RegError RegistryKey::deleteLink(const rtl::OUString& linkName)
{ {
if (m_registry.isValid()) if (m_registry.isValid())
return m_registry.m_pApi->deleteLink(m_hImpl, linkName.pData); return m_registry.m_pApi->deleteLink(m_hImpl, linkName.pData);
@ -1102,7 +1102,7 @@ inline RegError RegistryKey::deleteLink(const OUString& linkName)
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::getKeyType(const OUString& keyName, inline RegError RegistryKey::getKeyType(const rtl::OUString& keyName,
RegKeyType* pKeyType) const RegKeyType* pKeyType) const
{ {
if (m_registry.isValid()) if (m_registry.isValid())
@ -1111,8 +1111,8 @@ inline RegError RegistryKey::getKeyType(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline RegError RegistryKey::getLinkTarget(const OUString& linkName, inline RegError RegistryKey::getLinkTarget(const rtl::OUString& linkName,
OUString& rLinkTarget) const rtl::OUString& rLinkTarget) const
{ {
if (m_registry.isValid()) if (m_registry.isValid())
{ {
@ -1124,9 +1124,9 @@ inline RegError RegistryKey::getLinkTarget(const OUString& linkName,
} }
inline RegError RegistryKey::getResolvedKeyName(const OUString& keyName, inline RegError RegistryKey::getResolvedKeyName(const rtl::OUString& keyName,
sal_Bool firstLinkOnly, sal_Bool firstLinkOnly,
OUString& rResolvedName) const rtl::OUString& rResolvedName) const
{ {
if (m_registry.isValid()) if (m_registry.isValid())
return m_registry.m_pApi->getResolvedKeyName(m_hImpl, return m_registry.m_pApi->getResolvedKeyName(m_hImpl,
@ -1137,13 +1137,13 @@ inline RegError RegistryKey::getResolvedKeyName(const OUString& keyName,
return REG_INVALID_KEY; return REG_INVALID_KEY;
} }
inline OUString RegistryKey::getRegistryName() inline rtl::OUString RegistryKey::getRegistryName()
{ {
if (m_registry.isValid()) if (m_registry.isValid())
{ {
return m_registry.getName(); return m_registry.getName();
} else } else
return OUString(); return rtl::OUString();
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
@ -1193,21 +1193,21 @@ inline RegError Registry::openRootKey(RegistryKey& rRootKey)
return m_pApi->openRootKey(m_hImpl, &rRootKey.m_hImpl); return m_pApi->openRootKey(m_hImpl, &rRootKey.m_hImpl);
} }
inline OUString Registry::getName() inline rtl::OUString Registry::getName()
{ {
OUString sRet; rtl::OUString sRet;
m_pApi->getName(m_hImpl, &sRet.pData); m_pApi->getName(m_hImpl, &sRet.pData);
return sRet; return sRet;
} }
inline RegError Registry::create(const OUString& registryName) inline RegError Registry::create(const rtl::OUString& registryName)
{ {
if (m_hImpl) if (m_hImpl)
m_pApi->release(m_hImpl); m_pApi->release(m_hImpl);
return m_pApi->createRegistry(registryName.pData, &m_hImpl); return m_pApi->createRegistry(registryName.pData, &m_hImpl);
} }
inline RegError Registry::open(const OUString& registryName, inline RegError Registry::open(const rtl::OUString& registryName,
RegAccessMode accessMode) RegAccessMode accessMode)
{ {
if (m_hImpl) if (m_hImpl)
@ -1223,7 +1223,7 @@ inline RegError Registry::close()
return ret; return ret;
} }
inline RegError Registry::destroy(const OUString& registryName) inline RegError Registry::destroy(const rtl::OUString& registryName)
{ {
RegError ret = m_pApi->destroyRegistry(m_hImpl, registryName.pData); RegError ret = m_pApi->destroyRegistry(m_hImpl, registryName.pData);
if ( !ret && registryName.isEmpty() ) if ( !ret && registryName.isEmpty() )
@ -1232,18 +1232,18 @@ inline RegError Registry::destroy(const OUString& registryName)
} }
inline RegError Registry::loadKey(RegistryKey& rKey, inline RegError Registry::loadKey(RegistryKey& rKey,
const OUString& keyName, const rtl::OUString& keyName,
const OUString& regFileName) const rtl::OUString& regFileName)
{ return m_pApi->loadKey(m_hImpl, rKey.m_hImpl, keyName.pData, regFileName.pData); } { return m_pApi->loadKey(m_hImpl, rKey.m_hImpl, keyName.pData, regFileName.pData); }
inline RegError Registry::saveKey(RegistryKey& rKey, inline RegError Registry::saveKey(RegistryKey& rKey,
const OUString& keyName, const rtl::OUString& keyName,
const OUString& regFileName) const rtl::OUString& regFileName)
{ return m_pApi->saveKey(m_hImpl, rKey.m_hImpl, keyName.pData, regFileName.pData); } { return m_pApi->saveKey(m_hImpl, rKey.m_hImpl, keyName.pData, regFileName.pData); }
inline RegError Registry::mergeKey(RegistryKey& rKey, inline RegError Registry::mergeKey(RegistryKey& rKey,
const OUString& keyName, const rtl::OUString& keyName,
const OUString& regFileName, const rtl::OUString& regFileName,
sal_Bool bWarnings, sal_Bool bWarnings,
sal_Bool bReport) sal_Bool bReport)
{ return m_pApi->mergeKey(m_hImpl, rKey.m_hImpl, keyName.pData, regFileName.pData, bWarnings, bReport); } { return m_pApi->mergeKey(m_hImpl, rKey.m_hImpl, keyName.pData, regFileName.pData, bWarnings, bReport); }

View File

@ -70,9 +70,9 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
Writer( Writer(
typereg_Version version, OUString const & documentation, typereg_Version version, rtl::OUString const & documentation,
OUString const & fileName, RTTypeClass typeClass, bool published, rtl::OUString const & fileName, RTTypeClass typeClass, bool published,
OUString const & typeName, sal_uInt16 superTypeCount, rtl::OUString const & typeName, sal_uInt16 superTypeCount,
sal_uInt16 fieldCount, sal_uInt16 methodCount, sal_uInt16 fieldCount, sal_uInt16 methodCount,
sal_uInt16 referenceCount): sal_uInt16 referenceCount):
m_handle( m_handle(
@ -103,7 +103,7 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
void setSuperTypeName(sal_uInt16 index, OUString const & typeName) { void setSuperTypeName(sal_uInt16 index, rtl::OUString const & typeName) {
if (!typereg_writer_setSuperTypeName(m_handle, index, typeName.pData)) { if (!typereg_writer_setSuperTypeName(m_handle, index, typeName.pData)) {
throw std::bad_alloc(); throw std::bad_alloc();
} }
@ -129,9 +129,9 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
void setFieldData( void setFieldData(
sal_uInt16 index, OUString const & documentation, sal_uInt16 index, rtl::OUString const & documentation,
OUString const & fileName, RTFieldAccess flags, OUString const & name, rtl::OUString const & fileName, RTFieldAccess flags, rtl::OUString const & name,
OUString const & typeName, RTConstValue const & value) rtl::OUString const & typeName, RTConstValue const & value)
{ {
if (!typereg_writer_setFieldData( if (!typereg_writer_setFieldData(
m_handle, index, documentation.pData, fileName.pData, flags, m_handle, index, documentation.pData, fileName.pData, flags,
@ -161,9 +161,9 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
void setMethodData( void setMethodData(
sal_uInt16 index, OUString const & documentation, sal_uInt16 index, rtl::OUString const & documentation,
RTMethodMode flags, OUString const & name, RTMethodMode flags, rtl::OUString const & name,
OUString const & returnTypeName, sal_uInt16 parameterCount, rtl::OUString const & returnTypeName, sal_uInt16 parameterCount,
sal_uInt16 exceptionCount) sal_uInt16 exceptionCount)
{ {
if (!typereg_writer_setMethodData( if (!typereg_writer_setMethodData(
@ -193,8 +193,8 @@ public:
*/ */
void setMethodParameterData( void setMethodParameterData(
sal_uInt16 methodIndex, sal_uInt16 parameterIndex, sal_uInt16 methodIndex, sal_uInt16 parameterIndex,
RTParamMode flags, OUString const & name, RTParamMode flags, rtl::OUString const & name,
OUString const & typeName) rtl::OUString const & typeName)
{ {
if (!typereg_writer_setMethodParameterData( if (!typereg_writer_setMethodParameterData(
m_handle, methodIndex, parameterIndex, flags, name.pData, m_handle, methodIndex, parameterIndex, flags, name.pData,
@ -219,7 +219,7 @@ public:
*/ */
void setMethodExceptionTypeName( void setMethodExceptionTypeName(
sal_uInt16 methodIndex, sal_uInt16 exceptionIndex, sal_uInt16 methodIndex, sal_uInt16 exceptionIndex,
OUString const & typeName) rtl::OUString const & typeName)
{ {
if (!typereg_writer_setMethodExceptionTypeName( if (!typereg_writer_setMethodExceptionTypeName(
m_handle, methodIndex, exceptionIndex, typeName.pData)) m_handle, methodIndex, exceptionIndex, typeName.pData))
@ -245,9 +245,9 @@ public:
@exception std::bad_alloc is raised if an out-of-memory condition occurs @exception std::bad_alloc is raised if an out-of-memory condition occurs
*/ */
void setReferenceData( void setReferenceData(
sal_uInt16 index, OUString const & documentation, sal_uInt16 index, rtl::OUString const & documentation,
RTReferenceType sort, RTFieldAccess flags, RTReferenceType sort, RTFieldAccess flags,
OUString const & typeName) rtl::OUString const & typeName)
{ {
if (!typereg_writer_setReferenceData( if (!typereg_writer_setReferenceData(
m_handle, index, documentation.pData, sort, flags, m_handle, index, documentation.pData, sort, flags,

View File

@ -80,7 +80,7 @@ namespace rtl
/** Opens a bootstrap argment container /** Opens a bootstrap argment container
@see rtl_bootstrap_args_open() @see rtl_bootstrap_args_open()
*/ */
inline Bootstrap(const OUString & iniName); inline Bootstrap(const rtl::OUString & iniName);
/** Closes a bootstrap argument container /** Closes a bootstrap argument container
@see rtl_bootstrap_args_close() @see rtl_bootstrap_args_close()
@ -180,7 +180,7 @@ namespace rtl
_handle = 0; _handle = 0;
} }
inline Bootstrap::Bootstrap(const OUString & iniName) inline Bootstrap::Bootstrap(const rtl::OUString & iniName)
{ {
if(!iniName.isEmpty()) if(!iniName.isEmpty())
_handle = rtl_bootstrap_args_open(iniName.pData); _handle = rtl_bootstrap_args_open(iniName.pData);

View File

@ -99,8 +99,8 @@ public:
*/ */
inline storeError create ( inline storeError create (
storeFileHandle hFile, storeFileHandle hFile,
OUString const & rPath, rtl::OUString const & rPath,
OUString const & rName, rtl::OUString const & rName,
storeAccessMode eMode) SAL_THROW(()) storeAccessMode eMode) SAL_THROW(())
{ {
if (m_hImpl) if (m_hImpl)
@ -264,8 +264,8 @@ public:
*/ */
inline storeError create ( inline storeError create (
storeFileHandle hFile, storeFileHandle hFile,
OUString const & rPath, rtl::OUString const & rPath,
OUString const & rName, rtl::OUString const & rName,
storeAccessMode eMode) SAL_THROW(()) storeAccessMode eMode) SAL_THROW(())
{ {
if (m_hImpl) if (m_hImpl)
@ -429,7 +429,7 @@ public:
@see store_openFile() @see store_openFile()
*/ */
inline storeError create ( inline storeError create (
OUString const & rFilename, rtl::OUString const & rFilename,
storeAccessMode eAccessMode, storeAccessMode eAccessMode,
sal_uInt16 nPageSize = STORE_DEFAULT_PAGESIZE) SAL_THROW(()) sal_uInt16 nPageSize = STORE_DEFAULT_PAGESIZE) SAL_THROW(())
{ {
@ -504,8 +504,8 @@ public:
@see store_attrib() @see store_attrib()
*/ */
inline storeError attrib ( inline storeError attrib (
OUString const & rPath, rtl::OUString const & rPath,
OUString const & rName, rtl::OUString const & rName,
sal_uInt32 nMask1, sal_uInt32 nMask1,
sal_uInt32 nMask2, sal_uInt32 nMask2,
sal_uInt32 & rnAttrib) SAL_THROW(()) sal_uInt32 & rnAttrib) SAL_THROW(())
@ -520,8 +520,8 @@ public:
@see store_attrib() @see store_attrib()
*/ */
inline storeError attrib ( inline storeError attrib (
OUString const & rPath, rtl::OUString const & rPath,
OUString const & rName, rtl::OUString const & rName,
sal_uInt32 nMask1, sal_uInt32 nMask1,
sal_uInt32 nMask2) SAL_THROW(()) sal_uInt32 nMask2) SAL_THROW(())
{ {
@ -535,8 +535,8 @@ public:
@see store_link() @see store_link()
*/ */
inline storeError link ( inline storeError link (
OUString const & rSrcPath, OUString const & rSrcName, rtl::OUString const & rSrcPath, rtl::OUString const & rSrcName,
OUString const & rDstPath, OUString const & rDstName) SAL_THROW(()) rtl::OUString const & rDstPath, rtl::OUString const & rDstName) SAL_THROW(())
{ {
if (!m_hImpl) if (!m_hImpl)
return store_E_InvalidHandle; return store_E_InvalidHandle;
@ -549,8 +549,8 @@ public:
@see store_symlink() @see store_symlink()
*/ */
inline storeError symlink ( inline storeError symlink (
OUString const & rSrcPath, OUString const & rSrcName, rtl::OUString const & rSrcPath, rtl::OUString const & rSrcName,
OUString const & rDstPath, OUString const & rDstName) SAL_THROW(()) rtl::OUString const & rDstPath, rtl::OUString const & rDstName) SAL_THROW(())
{ {
if (!m_hImpl) if (!m_hImpl)
return store_E_InvalidHandle; return store_E_InvalidHandle;
@ -562,8 +562,8 @@ public:
@see store_rename() @see store_rename()
*/ */
inline storeError rename ( inline storeError rename (
OUString const & rSrcPath, OUString const & rSrcName, rtl::OUString const & rSrcPath, rtl::OUString const & rSrcName,
OUString const & rDstPath, OUString const & rDstName) SAL_THROW(()) rtl::OUString const & rDstPath, rtl::OUString const & rDstName) SAL_THROW(())
{ {
if (!m_hImpl) if (!m_hImpl)
return store_E_InvalidHandle; return store_E_InvalidHandle;
@ -575,7 +575,7 @@ public:
@see store_remove() @see store_remove()
*/ */
inline storeError remove ( inline storeError remove (
OUString const & rPath, OUString const & rName) SAL_THROW(()) rtl::OUString const & rPath, rtl::OUString const & rName) SAL_THROW(())
{ {
if (!m_hImpl) if (!m_hImpl)
return store_E_InvalidHandle; return store_E_InvalidHandle;