summaryrefslogtreecommitdiff
path: root/include/registry
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-04 09:28:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-04 13:07:40 +0000
commit32f95a35514701ed16413125b440c16d90f52b4a (patch)
tree25ac5edca15ee02bc937ee47116c2197559da4cd /include/registry
parent0f98299f7aa44bbb55c1bfeddca7799f727d14b0 (diff)
V813: Decreased performance
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
Diffstat (limited to 'include/registry')
-rw-r--r--include/registry/reflwrit.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/registry/reflwrit.hxx b/include/registry/reflwrit.hxx
index f97574d67fbb..75bff949daf5 100644
--- a/include/registry/reflwrit.hxx
+++ b/include/registry/reflwrit.hxx
@@ -143,13 +143,13 @@ public:
@param constValue specifies the value of the field. The value is only interesting
for enum values or constants.
*/
- inline void setFieldData( sal_uInt16 index,
+ inline void setFieldData( sal_uInt16 index,
const rtl::OUString& name,
const rtl::OUString& typeName,
const rtl::OUString& doku,
const rtl::OUString& fileName,
- RTFieldAccess access,
- RTConstValue constValue = RTConstValue());
+ RTFieldAccess access,
+ const RTConstValue& constValue = RTConstValue());
/** sets the data for a method.
@@ -270,13 +270,13 @@ inline RegistryTypeWriter& RegistryTypeWriter::operator == (const RegistryTypeWr
return *this;
}
-inline void RegistryTypeWriter::setFieldData( sal_uInt16 index,
+inline void RegistryTypeWriter::setFieldData( sal_uInt16 index,
const rtl::OUString& name,
const rtl::OUString& typeName,
const rtl::OUString& doku,
const rtl::OUString& fileName,
- RTFieldAccess access,
- RTConstValue constValue)
+ RTFieldAccess access,
+ const RTConstValue& constValue)
{
m_pApi->setFieldData(m_hImpl, index, name.pData, typeName.pData, doku.pData, fileName.pData, access, constValue.m_type, constValue.m_value);
}