summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer/emfplus.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-07-17 17:00:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-07-18 08:23:28 +0200
commit4dd7c0369d66aa7b30f2b9e547faa5fb2c7cd8dd (patch)
treeb3497428d040c18b167938fcc89f1e034ebafd45 /cppcanvas/source/mtfrenderer/emfplus.cxx
parent7dde426915ebbb7ea2ca3dc661f0a9ac70a26d5c (diff)
Various Clang 3.1 -Wunsued-variable, -Wconstant-conversion
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
Diffstat (limited to 'cppcanvas/source/mtfrenderer/emfplus.cxx')
-rw-r--r--cppcanvas/source/mtfrenderer/emfplus.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 7b2e8d79e0c3..8ce563b90af0 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -176,9 +176,10 @@ namespace cppcanvas
aPolygon.clear ();
- // debug code
- const ::basegfx::B2DRectangle aBounds (::basegfx::tools::getRange (GetPolygon (rR)));
- EMFP_DEBUG (printf ("EMF+\tpolygon bounding box: %f,%f %fx%f (mapped)\n", aBounds.getMinX (), aBounds.getMinY (), aBounds.getWidth (), aBounds.getHeight ()));
+ (void) rR; // avoid warnings
+ EMFP_DEBUG (
+ const ::basegfx::B2DRectangle aBounds (::basegfx::tools::getRange (GetPolygon (rR)));
+ printf ("EMF+\tpolygon bounding box: %f,%f %fx%f (mapped)\n", aBounds.getMinX (), aBounds.getMinY (), aBounds.getWidth (), aBounds.getHeight ()));
}
::basegfx::B2DPolyPolygon& GetPolygon (ImplRenderer& rR, bool bMapIt = true)