diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-22 16:33:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-23 09:12:23 +0200 |
commit | 9d5b9bf881606e83a051cc192d08c4690f98a8ba (patch) | |
tree | 448a72316772fc2b5588d70b53ec5223fb7d0769 /include | |
parent | 4ad54c347180f227fac127b70c4072c192c21ddd (diff) |
loplugin:returnconstval in vcl
Change-Id: Id4a0b460ba3c43e80b80ae6e2da9e40a6753e14c
Reviewed-on: https://gerrit.libreoffice.org/77965
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/commandinfoprovider.hxx | 2 | ||||
-rw-r--r-- | include/vcl/graphicfilter.hxx | 2 | ||||
-rw-r--r-- | include/vcl/region.hxx | 4 | ||||
-rw-r--r-- | include/vcl/status.hxx | 2 | ||||
-rw-r--r-- | include/vcl/toolbox.hxx | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/commandinfoprovider.hxx b/include/vcl/commandinfoprovider.hxx index f1254a04a14a..8b5bac1a5c31 100644 --- a/include/vcl/commandinfoprovider.hxx +++ b/include/vcl/commandinfoprovider.hxx @@ -88,7 +88,7 @@ namespace vcl { namespace CommandInfoProvider { const OUString& rsCommandName, const OUString& rModuleName); - VCL_DLLPUBLIC OUString const GetModuleIdentifier(const css::uno::Reference<css::frame::XFrame>& rxFrame); + VCL_DLLPUBLIC OUString GetModuleIdentifier(const css::uno::Reference<css::frame::XFrame>& rxFrame); } } #endif // INCLUDED_VCL_COMMANDINFOPROVIDER_HXX diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx index 14373039b684..eea2e9ac8b7d 100644 --- a/include/vcl/graphicfilter.hxx +++ b/include/vcl/graphicfilter.hxx @@ -300,7 +300,7 @@ public: const FilterErrorEx& GetLastError() const { return *pErrorEx;} void ResetLastError(); - const Link<ConvertData&,bool> GetFilterCallback() const; + Link<ConvertData&,bool> GetFilterCallback() const; static GraphicFilter& GetGraphicFilter(); static ErrCode LoadGraphic( const OUString& rPath, const OUString& rFilter, Graphic& rGraphic, diff --git a/include/vcl/region.hxx b/include/vcl/region.hxx index 80feefcec5b5..3edcaa033636 100644 --- a/include/vcl/region.hxx +++ b/include/vcl/region.hxx @@ -82,8 +82,8 @@ public: // access with converters, the asked data will be created from the most // valuable data, buffered and returned - const tools::PolyPolygon GetAsPolyPolygon() const; - const basegfx::B2DPolyPolygon GetAsB2DPolyPolygon() const; + tools::PolyPolygon GetAsPolyPolygon() const; + basegfx::B2DPolyPolygon GetAsB2DPolyPolygon() const; const RegionBand* GetAsRegionBand() const; // manipulators diff --git a/include/vcl/status.hxx b/include/vcl/status.hxx index c89b5064ff81..fe6ec34e41a4 100644 --- a/include/vcl/status.hxx +++ b/include/vcl/status.hxx @@ -156,7 +156,7 @@ public: void* GetItemData( sal_uInt16 nItemId ) const; void SetItemCommand( sal_uInt16 nItemId, const OUString& rCommand ); - const OUString GetItemCommand( sal_uInt16 nItemId ); + OUString GetItemCommand( sal_uInt16 nItemId ); void SetHelpText( sal_uInt16 nItemId, const OUString& rText ); const OUString& GetHelpText( sal_uInt16 nItemId ) const; diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index 21ba679150f6..32f9c061889e 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -413,7 +413,7 @@ public: bool IsItemReallyVisible( sal_uInt16 nItemId ) const; void SetItemCommand( sal_uInt16 nItemId, const OUString& rCommand ); - const OUString GetItemCommand( sal_uInt16 nItemId ) const; + OUString GetItemCommand( sal_uInt16 nItemId ) const; using Window::SetQuickHelpText; void SetQuickHelpText( sal_uInt16 nItemId, const OUString& rText ); |