summaryrefslogtreecommitdiff
path: root/include/registry
diff options
context:
space:
mode:
Diffstat (limited to 'include/registry')
-rw-r--r--include/registry/registry.hxx10
-rw-r--r--include/registry/writer.hxx2
2 files changed, 6 insertions, 6 deletions
diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx
index f8906668e253..36b7d77858d3 100644
--- a/include/registry/registry.hxx
+++ b/include/registry/registry.hxx
@@ -179,7 +179,7 @@ public:
friend class RegistryKeyNames;
/// returns the used registry Api.
- const Registry_Api* getApi() { return m_pApi; }
+ const Registry_Api* getApi() const { return m_pApi; }
protected:
/// stores the used and initialized registry Api.
@@ -206,7 +206,7 @@ public:
inline RegistryKey getElement(sal_uInt32 index);
/// returns the length of the array.
- inline sal_uInt32 getLength();
+ inline sal_uInt32 getLength() const;
friend class RegistryKey;
protected:
@@ -244,7 +244,7 @@ public:
inline rtl::OUString getElement(sal_uInt32 index);
/// returns the length of the array.
- inline sal_uInt32 getLength();
+ inline sal_uInt32 getLength() const;
friend class RegistryKey;
protected:
@@ -591,7 +591,7 @@ inline RegistryKey RegistryKeyArray::getElement(sal_uInt32 index)
return RegistryKey();
}
-inline sal_uInt32 RegistryKeyArray::getLength()
+inline sal_uInt32 RegistryKeyArray::getLength() const
{
return m_length;
}
@@ -626,7 +626,7 @@ inline rtl::OUString RegistryKeyNames::getElement(sal_uInt32 index)
return rtl::OUString();
}
-inline sal_uInt32 RegistryKeyNames::getLength()
+inline sal_uInt32 RegistryKeyNames::getLength() const
{
return m_length;
}
diff --git a/include/registry/writer.hxx b/include/registry/writer.hxx
index dc3ce97c4f0f..7e3bfbd7e9bc 100644
--- a/include/registry/writer.hxx
+++ b/include/registry/writer.hxx
@@ -194,7 +194,7 @@ public:
void setMethodParameterData(
sal_uInt16 methodIndex, sal_uInt16 parameterIndex,
RTParamMode flags, rtl::OUString const & name,
- rtl::OUString const & typeName)
+ rtl::OUString const & typeName) const
{
if (!typereg_writer_setMethodParameterData(
m_handle, methodIndex, parameterIndex, flags, name.pData,