diff options
Diffstat (limited to 'sw/source/uibase/docvw/SidebarScrollBar.cxx')
-rw-r--r-- | sw/source/uibase/docvw/SidebarScrollBar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/SidebarScrollBar.cxx b/sw/source/uibase/docvw/SidebarScrollBar.cxx index 70c589b3dc9e..45e2732b0e62 100644 --- a/sw/source/uibase/docvw/SidebarScrollBar.cxx +++ b/sw/source/uibase/docvw/SidebarScrollBar.cxx @@ -39,7 +39,7 @@ void SidebarScrollBar::LogicInvalidate(const Rectangle* pRectangle) Push(PushFlags::MAPMODE); EnableMapMode(); MapMode aMapMode = GetMapMode(); - aMapMode.SetMapUnit(MAP_TWIP); + aMapMode.SetMapUnit(MapUnit::MapTwip); SetMapMode(aMapMode); aRectangle = Rectangle(Point(0, 0), PixelToLogic(GetSizePixel())); Pop(); |