summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/configitem.cxx4
-rw-r--r--unotools/source/config/lingucfg.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx
index 59c1207b80e1..931a9a189eca 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -801,7 +801,7 @@ Sequence< OUString > lcl_extractSetPropertyNames( const Sequence< PropertyValue
// Add or change properties
bool ConfigItem::SetSetProperties(
- const OUString& rNode, Sequence< PropertyValue > rValues)
+ const OUString& rNode, const Sequence< PropertyValue >& rValues)
{
ValueCounter_Impl aCounter(m_nInValueChange);
bool bRet = true;
@@ -900,7 +900,7 @@ bool ConfigItem::SetSetProperties(
}
bool ConfigItem::ReplaceSetProperties(
- const OUString& rNode, Sequence< PropertyValue > rValues)
+ const OUString& rNode, const Sequence< PropertyValue >& rValues)
{
ValueCounter_Impl aCounter(m_nInValueChange);
bool bRet = true;
diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx
index 781f16463b87..f02b52b89d80 100644
--- a/unotools/source/config/lingucfg.cxx
+++ b/unotools/source/config/lingucfg.cxx
@@ -846,7 +846,7 @@ uno::Sequence< uno::Any > SvtLinguConfig::GetProperties( const uno::Sequence< OU
}
bool SvtLinguConfig::ReplaceSetProperties(
- const OUString &rNode, uno::Sequence< beans::PropertyValue > rValues )
+ const OUString &rNode, const uno::Sequence< beans::PropertyValue >& rValues )
{
return GetConfigItem().ReplaceSetProperties( rNode, rValues );
}