[Libreoffice-commits] core.git: canvas/source

Noel Grandin noel at peralex.com
Thu May 28 04:09:10 PDT 2015


 canvas/source/directx/dx_9rm.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit e23bced878c2e7a5b1a7d3dcbb931ba8b6b58d09
Author: Noel Grandin <noel at peralex.com>
Date:   Thu May 28 13:08:28 2015 +0200

    fix Windows build
    
    Change-Id: I5f0489e2fe8fc08461b3409de2690988826ed334

diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx
index 6d4157b..dbd2601 100644
--- a/canvas/source/directx/dx_9rm.cxx
+++ b/canvas/source/directx/dx_9rm.cxx
@@ -673,10 +673,7 @@ namespace dxcanvas
             mpWindow->SetMouseTransparent( TRUE );
 
             // parent should receive paint messages as well
-            // [ParentClipMode::NoClip], the argument is here
-            // passed as plain numeric value since the stupid
-            // define utilizes a USHORT cast.
-            mpWindow->SetParentClipMode(0x0002);
+            mpWindow->SetParentClipMode(ParentClipMode::NoClip);
 
             // the system child window must not clear its background
             mpWindow->EnableEraseBackground( sal_False );


More information about the Libreoffice-commits mailing list