diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-11 13:26:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-11 15:12:10 +0200 |
commit | c399630f9cd94bc570659c3bdfd6526e3532c46f (patch) | |
tree | fc398ef71306455fb062a734fee590a35f3fae9c /include/svtools | |
parent | 76bff82cc637c10c8dbbbb7148e07555cf8e7ff4 (diff) |
clang-tidy performance-unnecessary-value-param in svtools
Change-Id: I6360a780aac9a387fed3a1c9a086196dbba0b089
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/headbar.hxx | 2 | ||||
-rw-r--r-- | include/svtools/unoimap.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/headbar.hxx b/include/svtools/headbar.hxx index 8ebef5e9b6ee..b5373f71a300 100644 --- a/include/svtools/headbar.hxx +++ b/include/svtools/headbar.hxx @@ -335,7 +335,7 @@ public: /** Creates and returns the accessible object of the header bar. */ virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible() override; - void SetAccessible( css::uno::Reference< css::accessibility::XAccessible > ); + void SetAccessible( const css::uno::Reference< css::accessibility::XAccessible >& ); virtual css::uno::Reference< css::awt::XWindowPeer > GetComponentInterface( bool bCreate ) override; }; diff --git a/include/svtools/unoimap.hxx b/include/svtools/unoimap.hxx index 46613ad05bc6..98c437651269 100644 --- a/include/svtools/unoimap.hxx +++ b/include/svtools/unoimap.hxx @@ -32,7 +32,7 @@ SVT_DLLPUBLIC css::uno::Reference< css::uno::XInterface > SvUnoImageMapPolygonOb SVT_DLLPUBLIC css::uno::Reference< css::uno::XInterface > SvUnoImageMap_createInstance( const SvEventDescription* pSupportedMacroItems ); SVT_DLLPUBLIC css::uno::Reference< css::uno::XInterface > SvUnoImageMap_createInstance( const ImageMap& rMap, const SvEventDescription* pSupportedMacroItems ); -SVT_DLLPUBLIC bool SvUnoImageMap_fillImageMap( css::uno::Reference< css::uno::XInterface > xImageMap, ImageMap& rMap ); +SVT_DLLPUBLIC bool SvUnoImageMap_fillImageMap( const css::uno::Reference< css::uno::XInterface >& xImageMap, ImageMap& rMap ); #endif |