summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-28 13:08:28 +0200
committerNoel Grandin <noel@peralex.com>2015-05-28 13:08:28 +0200
commite23bced878c2e7a5b1a7d3dcbb931ba8b6b58d09 (patch)
tree77745d5ea3d65822c648d22e3413943d9030fcfb /canvas
parentb406664c0c3f9c8a383e47c7eb045657cd3fdd83 (diff)
fix Windows build
Change-Id: I5f0489e2fe8fc08461b3409de2690988826ed334
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_9rm.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx
index 6d4157b68325..dbd260141cc2 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 );