diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-22 15:52:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-24 07:56:01 +0100 |
commit | de8f6b25de6fbe813fe172542e7eff1596b37335 (patch) | |
tree | 4a2864c87395463391cd2ad40c4f1ada962f44e9 /include/vcl/bitmapex.hxx | |
parent | 182a3c7e12a0f56d664deaf67d17bc51eef6299d (diff) |
loplugin:unused-returns in vcl
Change-Id: I507320900a47f604d17ed7d402d531a7cbdf744e
Reviewed-on: https://gerrit.libreoffice.org/48331
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/bitmapex.hxx')
-rw-r--r-- | include/vcl/bitmapex.hxx | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx index a850572357e9..1857e7608314 100644 --- a/include/vcl/bitmapex.hxx +++ b/include/vcl/bitmapex.hxx @@ -147,12 +147,8 @@ public: @param bExpandTransparent Whether to expand the transparency color or not. - - @return true, if padding was performed successfully. false is - not only returned when the operation failed, but also if - nothing had to be done, e.g. because nDX and nDY were zero. */ - bool Expand( + void Expand( sal_uLong nDX, sal_uLong nDY, bool bExpandTransparent = false ); @@ -264,10 +260,8 @@ public: @param rReplaceColor Color to be placed in all changed pixel - - @return true, if the operation was completed successfully. */ - bool Replace( + void Replace( const Color& rSearchColor, const Color& rReplaceColor ); @@ -286,10 +280,8 @@ public: Tolerance value. Specifies the maximal difference between pSearchColor colors and the individual pixel values, such that the corresponding pixel is still regarded a match. - - @return true, if the operation was completed successfully. */ - bool Replace( + void Replace( const Color* pSearchColors, const Color* pReplaceColors, sal_uLong nColorCount, |