diff options
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/inc/unotools/configitem.hxx | 2 | ||||
-rw-r--r-- | unotools/source/config/configitem.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unotools/inc/unotools/configitem.hxx b/unotools/inc/unotools/configitem.hxx index ff85b878e5b5..dd1ab6964b93 100644 --- a/unotools/inc/unotools/configitem.hxx +++ b/unotools/inc/unotools/configitem.hxx @@ -115,7 +115,7 @@ namespace utl GetTree(); protected: - ConfigItem(const rtl::OUString rSubTree, + ConfigItem(const rtl::OUString &rSubTree, sal_Int16 nMode = CONFIG_MODE_DELAYED_UPDATE); ConfigItem(utl::ConfigManager& rManager, const rtl::OUString rSubTree); diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx index 4a3809c222fb..0832b203ab2c 100644 --- a/unotools/source/config/configitem.cxx +++ b/unotools/source/config/configitem.cxx @@ -219,7 +219,7 @@ void ConfigChangeListener_Impl::disposing( const EventObject& /*rSource*/ ) thro pParent->RemoveChangesListener(); } -ConfigItem::ConfigItem(const OUString rSubTree, sal_Int16 nSetMode ) : +ConfigItem::ConfigItem(const OUString &rSubTree, sal_Int16 nSetMode ) : sSubTree(rSubTree), pImpl(new ConfigItem_Impl) { |