# HG changeset patch # User Matt Plumtree # Date 1280928708 -3600 # Node ID 975c90a565477e125c7267c239bfd1c12b072fd1 # Parent 1c608d9c6c51ab0aaa58cfaf490118e66c251e13 Bug 2116 "OpenWFCompositionEngine fails to compile enabling logs" diff -r 1c608d9c6c51 -r 975c90a56547 graphicscomposition/openwfcompositionengine/adaptation/src/Platform/Graphics/symbian/owfscreen_displaychannel.cpp --- a/graphicscomposition/openwfcompositionengine/adaptation/src/Platform/Graphics/symbian/owfscreen_displaychannel.cpp Thu Jul 29 19:13:12 2010 +0100 +++ b/graphicscomposition/openwfcompositionengine/adaptation/src/Platform/Graphics/symbian/owfscreen_displaychannel.cpp Wed Aug 04 14:31:48 2010 +0100 @@ -136,7 +136,7 @@ iScreenInfo.currentRotation = OWF_ROTATION_270; break; default: - DPRINT(("Unsupported rotation %d", rotation)); + DPRINT(("Unsupported rotation %d", iDispChan.CurrentRotation())); User::Leave(KErrNotSupported); } diff -r 1c608d9c6c51 -r 975c90a56547 graphicscomposition/openwfcompositionengine/composition/src/wfcelement.c --- a/graphicscomposition/openwfcompositionengine/composition/src/wfcelement.c Thu Jul 29 19:13:12 2010 +0100 +++ b/graphicscomposition/openwfcompositionengine/composition/src/wfcelement.c Wed Aug 04 14:31:48 2010 +0100 @@ -232,7 +232,7 @@ { if (fabs(rect[i]) > LIMIT) { -#ifdef DEBUG +#ifdef DEBUG_LOG static const char* coord[4] = {"x", "y", "width", "height"}; (void)coord[0]; #endif