summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxcontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxcontainer.cxx')
-rw-r--r--toolkit/source/awt/vclxcontainer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxcontainer.cxx b/toolkit/source/awt/vclxcontainer.cxx
index a0c7d305f156..7ec45d791f51 100644
--- a/toolkit/source/awt/vclxcontainer.cxx
+++ b/toolkit/source/awt/vclxcontainer.cxx
@@ -244,7 +244,7 @@ throw(css::uno::RuntimeException, std::exception)
Value >>= nVal;
Size aSize( nVal, nVal );
vcl::Window* pWindow = GetWindow();
- MapMode aMode( MAP_APPFONT );
+ MapMode aMode( MapUnit::MapAppFont );
toolkit::ScrollableInterface* pScrollable = dynamic_cast< toolkit::ScrollableInterface* >( pWindow );
if ( pWindow && pScrollable )
{