summaryrefslogtreecommitdiff
path: root/forms/source/richtext/richtextimplcontrol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/richtext/richtextimplcontrol.cxx')
-rw-r--r--forms/source/richtext/richtextimplcontrol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx
index ca1bda40792f..3bc77a4d52c4 100644
--- a/forms/source/richtext/richtextimplcontrol.cxx
+++ b/forms/source/richtext/richtextimplcontrol.cxx
@@ -581,7 +581,7 @@ namespace frm
// translate coordinates
Point aPos( _rPos );
Size aSize( _rSize );
- if ( aOriginalMapMode.GetMapUnit() == MAP_PIXEL )
+ if ( aOriginalMapMode.GetMapUnit() == MapUnit::MapPixel )
{
aPos = _pDev->PixelToLogic( _rPos, aNormalizedMapMode );
aSize = _pDev->PixelToLogic( _rSize, aNormalizedMapMode );