summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-05-06 12:19:05 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-06 12:19:05 +0200
commite50ef531021ea2322ebaf5109f6fe758e65d27b0 (patch)
treede023789f368c991cab2bf29d1b67692b9dc997b /cppcanvas
parent70100b82906ea7382c0697d4a781e48e4dcbf83d (diff)
Fix adaption to SAL_INFO
Change-Id: I12e32c0323e21946b795ca7f2af392930f55eed6
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/emfplus.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 814c55e2e30e..693a57c2e91b 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -1451,16 +1451,14 @@ namespace cppcanvas
}
case EmfPlusRecordTypeFillPolygon:
{
-#if OSL_DEBUG_LEVEL > 1
sal_uInt8 index = flags & 0xff;
-#endif
sal_uInt32 brushIndexOrColor;
sal_Int32 points;
rMF >> brushIndexOrColor;
rMF >> points;
- SAL_INFO("cppcanvas.emf", "EMF+ FillPolygon in slot: " << &index << " points: " << points);
+ SAL_INFO("cppcanvas.emf", "EMF+ FillPolygon in slot: " << +index << " points: " << points);
SAL_INFO("cppcanvas.emf", "EMF+\t: " << ((flags & 0x8000) ? "color" : "brush index") << " 0x" << std::hex << brushIndexOrColor);
EMFPPath path (points, true);