expression result unused [-Werror,-Wunused-value]

Change-Id: I57b44c1997ac286fcb4caf8e3027e3b5996fc377
This commit is contained in:
Noel Grandin
2015-11-26 09:17:21 +02:00
parent b2b4184edb
commit 3d8a01b0c8

View File

@@ -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 );
}