summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer/emfplus.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-09 08:45:51 +0200
committerNoel Grandin <noel@peralex.com>2015-04-13 09:37:12 +0200
commit26ec80f47df1b32c5e1ae8c96d597ef8c90fee86 (patch)
tree11b53e701f50ff170552054ef7d23136cd4710b6 /cppcanvas/source/mtfrenderer/emfplus.cxx
parentb5f5a386504e320b022f8609c9c36652ae2d3d18 (diff)
loplugin:staticmethods
Change-Id: I33a8ca28b0c3bf1c31758d93238e74927bebde9c
Diffstat (limited to 'cppcanvas/source/mtfrenderer/emfplus.cxx')
-rw-r--r--cppcanvas/source/mtfrenderer/emfplus.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index c5cf98172231..5afa0b27d691 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -1880,7 +1880,7 @@ namespace cppcanvas
float dx, dy, dw, dh;
- ReadRectangle (rMF, dx, dy, dw, dh, flags & 0x4000);
+ ReadRectangle (rMF, dx, dy, dw, dh, bool(flags & 0x4000));
SAL_INFO("cppcanvas.emf", "EMF+ RectData: " << dx << "," << dy << " " << dw << "x" << dh);
@@ -1939,7 +1939,7 @@ namespace cppcanvas
float dx, dy, dw, dh;
- ReadRectangle (rMF, dx, dy, dw, dh, flags & 0x4000);
+ ReadRectangle (rMF, dx, dy, dw, dh, bool(flags & 0x4000));
SAL_INFO("cppcanvas.emf", "EMF+ RectData: " << dx << "," << dy << " " << dw << "x" << dh);
@@ -2098,7 +2098,7 @@ namespace cppcanvas
} else if (type == EmfPlusRecordTypeDrawImage) {
float dx, dy, dw, dh;
- ReadRectangle (rMF, dx, dy, dw, dh, flags & 0x4000);
+ ReadRectangle (rMF, dx, dy, dw, dh, bool(flags & 0x4000));
SAL_INFO("cppcanvas.emf", "EMF+ destination rectangle: " << dx << "," << dy << " " << dw << "x" << dh);