summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/configurationhelper.hxx6
-rw-r--r--include/comphelper/dispatchcommand.hxx2
-rw-r--r--include/comphelper/namecontainer.hxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/include/comphelper/configurationhelper.hxx b/include/comphelper/configurationhelper.hxx
index c5cf9d4ed28b..45890ccfa5d7 100644
--- a/include/comphelper/configurationhelper.hxx
+++ b/include/comphelper/configurationhelper.hxx
@@ -120,7 +120,7 @@ public:
* E.g. css::container::NoSuchElementException if the specified
* key does not exists.
*/
- static css::uno::Any readRelativeKey(const css::uno::Reference< css::uno::XInterface > xCFG ,
+ static css::uno::Any readRelativeKey(const css::uno::Reference< css::uno::XInterface >& xCFG ,
const OUString& sRelPath,
const OUString& sKey );
@@ -150,7 +150,7 @@ public:
* key does not exists or css::uno::Exception if the provided configuration
* access does not allow writing for this key.
*/
- static void writeRelativeKey(const css::uno::Reference< css::uno::XInterface > xCFG ,
+ static void writeRelativeKey(const css::uno::Reference< css::uno::XInterface >& xCFG ,
const OUString& sRelPath,
const OUString& sKey ,
const css::uno::Any& aValue );
@@ -184,7 +184,7 @@ public:
* E.g. css::uno::Exception if the provided configuration
* access does not allow writing for this set.
*/
- static css::uno::Reference< css::uno::XInterface > makeSureSetNodeExists(const css::uno::Reference< css::uno::XInterface > xCFG ,
+ static css::uno::Reference< css::uno::XInterface > makeSureSetNodeExists(const css::uno::Reference< css::uno::XInterface >& xCFG ,
const OUString& sRelPathToSet,
const OUString& sSetNode );
diff --git a/include/comphelper/dispatchcommand.hxx b/include/comphelper/dispatchcommand.hxx
index 7b76bd5a0310..0a8e158366bd 100644
--- a/include/comphelper/dispatchcommand.hxx
+++ b/include/comphelper/dispatchcommand.hxx
@@ -27,7 +27,7 @@ namespace comphelper
*/
COMPHELPER_DLLPUBLIC bool dispatchCommand(const OUString& rCommand,
const css::uno::Sequence<css::beans::PropertyValue>& rArguments,
- css::uno::Reference<css::frame::XDispatchResultListener> aListener = css::uno::Reference<css::frame::XDispatchResultListener>());
+ const css::uno::Reference<css::frame::XDispatchResultListener>& aListener = css::uno::Reference<css::frame::XDispatchResultListener>());
}
diff --git a/include/comphelper/namecontainer.hxx b/include/comphelper/namecontainer.hxx
index 1af6119839d4..fd078c6e8630 100644
--- a/include/comphelper/namecontainer.hxx
+++ b/include/comphelper/namecontainer.hxx
@@ -27,7 +27,7 @@
namespace comphelper
{
COMPHELPER_DLLPUBLIC css::uno::Reference< css::container::XNameContainer >
- NameContainer_createInstance( css::uno::Type aType );
+ NameContainer_createInstance( const css::uno::Type& aType );
}
#endif // INCLUDED_COMPHELPER_NAMECONTAINER_HXX