[Libreoffice-commits] .: Branch 'libreoffice-3-3' - vcl/unx

René Engelhard rene at kemper.freedesktop.org
Fri Feb 4 13:18:35 PST 2011


 vcl/unx/kde4/KDESalGraphics.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 55b64863ec6eec23de004be6de7bcea7d47d806c
Author: Rene Engelhard <rene at debian.org>
Date:   Fri Feb 4 20:31:55 2011 +0100

    add explicit QRegion* for clipRegion to fix compile

diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx
index af1ac3b..d3eb7e7 100644
--- a/vcl/unx/kde4/KDESalGraphics.cxx
+++ b/vcl/unx/kde4/KDESalGraphics.cxx
@@ -354,7 +354,7 @@ BOOL KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
     {   // reduce paint area only to the handle area
         const int width = kapp->style()->pixelMetric(QStyle::PM_ToolBarHandleExtent);
         QRect rect( 0, 0, width, widgetRect.height());
-        clipRegion = new QRegion( widgetRect.x(), widgetRect.y(), width, widgetRect.height());
+        QRegion* clipRegion = new QRegion( widgetRect.x(), widgetRect.y(), width, widgetRect.height());
         
         QStyleOption option;
         option.state = QStyle::State_Horizontal;


More information about the Libreoffice-commits mailing list