summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/shdwcrsr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/utlui/shdwcrsr.cxx')
-rw-r--r--sw/source/uibase/utlui/shdwcrsr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/shdwcrsr.cxx b/sw/source/uibase/utlui/shdwcrsr.cxx
index 40c6931482fd..8180141cafbb 100644
--- a/sw/source/uibase/utlui/shdwcrsr.cxx
+++ b/sw/source/uibase/utlui/shdwcrsr.cxx
@@ -73,7 +73,7 @@ void SwShadowCursor::DrawCursor( const Point& rPt, long nHeight, sal_uInt16 nMod
pWin->Push();
- pWin->SetMapMode( MapUnit::MapPixel );
+ pWin->SetMapMode(MapMode(MapUnit::MapPixel));
pWin->SetRasterOp( RasterOp::Xor );
pWin->SetLineColor( Color( aCol.GetColor() ^ COL_WHITE ) );