[Libreoffice-commits] core.git: cppcanvas/source
Stephan Bergmann
sbergman at redhat.com
Mon May 6 03:19:26 PDT 2013
cppcanvas/source/mtfrenderer/emfplus.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit e50ef531021ea2322ebaf5109f6fe758e65d27b0
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon May 6 12:19:05 2013 +0200
Fix adaption to SAL_INFO
Change-Id: I12e32c0323e21946b795ca7f2af392930f55eed6
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 814c55e..693a57c 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);
More information about the Libreoffice-commits
mailing list