summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-26 09:17:21 +0200
committerNoel Grandin <noel@peralex.com>2015-11-26 09:17:21 +0200
commit3d8a01b0c85ee7c573f5da3fb51e3a0d654ae2cd (patch)
tree4557aa84d929c804a5cb1a7aefa2d0cb11d1228f /canvas
parentb2b4184edb388c72ef9e68e7bcd974a3d538a152 (diff)
expression result unused [-Werror,-Wunused-value]
Change-Id: I57b44c1997ac286fcb4caf8e3027e3b5996fc377
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/cairo/cairo_canvashelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx
index af94c38d2259..b516db0f071f 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -1513,7 +1513,7 @@ namespace cairocanvas
geometry::IntegerSize2D CanvasHelper::getSize()
{
if( !mpSurfaceProvider )
- geometry::IntegerSize2D(1, 1); // we're disposed
+ return geometry::IntegerSize2D(1, 1); // we're disposed
return ::basegfx::unotools::integerSize2DFromB2ISize( maSize );
}