summaryrefslogtreecommitdiff
path: root/include/cppcanvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-23 16:45:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-25 13:51:24 +0100
commit0f28c8612f4269cec95688b53d182c7c0169236d (patch)
treed840fa85243c10376fc4fb60b4972c028953483a /include/cppcanvas
parent8fd13c356d78fb72ba5dd288a495551f23e15363 (diff)
loplugin:unused-returns in basegfx..cppcanvas
Change-Id: I32dc8c92871c8349651d2f4204a332d387e6e1b2 Reviewed-on: https://gerrit.libreoffice.org/48428 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/cppcanvas')
-rw-r--r--include/cppcanvas/bitmap.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/cppcanvas/bitmap.hxx b/include/cppcanvas/bitmap.hxx
index 1e257d4dfb27..0dd3f69f3a84 100644
--- a/include/cppcanvas/bitmap.hxx
+++ b/include/cppcanvas/bitmap.hxx
@@ -54,10 +54,8 @@ namespace cppcanvas
multiplied. For a normal, opaque bitmap, this will make
the bitmap appear transparent with the given alpha value
(value must be in the range [0,1]).
-
- @return whether the rendering finished successfully.
*/
- virtual bool drawAlphaModulated( double nAlphaModulation ) const = 0;
+ virtual void drawAlphaModulated( double nAlphaModulation ) const = 0;
virtual BitmapCanvasSharedPtr getBitmapCanvas() const = 0;