diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-23 20:59:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 09:02:41 +0200 |
commit | b4e1389f7abecbd8b323d9c4653ee506054a1f85 (patch) | |
tree | e889881c49e51a155ceef780e70f391c48a8237f /include | |
parent | 428957e6dbd798513af55a97b505c8359f73b9f5 (diff) |
loplugin:returnconstval in sfx2
Change-Id: I9761dbfa66ea59d5c9c0cd87740fdb8ca34008eb
Reviewed-on: https://gerrit.libreoffice.org/78034
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/bindings.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/sidebar/Theme.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/bindings.hxx b/include/sfx2/bindings.hxx index 33b8e4a58cac..8b8cc0c7080d 100644 --- a/include/sfx2/bindings.hxx +++ b/include/sfx2/bindings.hxx @@ -149,7 +149,7 @@ public: SAL_DLLPRIVATE void SetDispatchProvider_Impl( const css::uno::Reference< css::frame::XDispatchProvider > & rFrame ); void SetActiveFrame( const css::uno::Reference< css::frame::XFrame > & rFrame ); - const css::uno::Reference< css::frame::XFrame > GetActiveFrame() const; + css::uno::Reference< css::frame::XFrame > GetActiveFrame() const; // Reconfig sal_uInt16 EnterRegistrations(const char *pFile = nullptr, int nLine = 0); void LeaveRegistrations( const char *pFile = nullptr, int nLine = 0 ); diff --git a/include/sfx2/sidebar/Theme.hxx b/include/sfx2/sidebar/Theme.hxx index 16a4798cdf9f..c0b8697d7732 100644 --- a/include/sfx2/sidebar/Theme.hxx +++ b/include/sfx2/sidebar/Theme.hxx @@ -130,7 +130,7 @@ public: static Image GetImage (const ThemeItem eItem); static Color GetColor (const ThemeItem eItem); static const Paint& GetPaint (const ThemeItem eItem); - static const Wallpaper GetWallpaper (const ThemeItem eItem); + static Wallpaper GetWallpaper (const ThemeItem eItem); static sal_Int32 GetInteger (const ThemeItem eItem); static bool GetBoolean (const ThemeItem eItem); |