summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/dialogcontrol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/dialogcontrol.cxx')
-rw-r--r--toolkit/source/controls/dialogcontrol.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx
index 490b644faa81..896037750be1 100644
--- a/toolkit/source/controls/dialogcontrol.cxx
+++ b/toolkit/source/controls/dialogcontrol.cxx
@@ -495,7 +495,7 @@ void UnoDialogControl::setMenuBar( const Reference< XMenuBar >& rxMenuBar ) thro
}
static ::Size ImplMapPixelToAppFont( OutputDevice* pOutDev, const ::Size& aSize )
{
- ::Size aTmp = pOutDev->PixelToLogic( aSize, MAP_APPFONT );
+ ::Size aTmp = pOutDev->PixelToLogic( aSize, MapUnit::MapAppFont );
return aTmp;
}
// css::awt::XWindowListener
@@ -506,7 +506,7 @@ throw (css::uno::RuntimeException, std::exception)
DBG_ASSERT( pOutDev, "Missing Default Device!" );
if ( pOutDev && !mbSizeModified )
{
- // Currentley we are simply using MAP_APPFONT
+ // Currentley we are simply using MapUnit::MapAppFont
::Size aAppFontSize( e.Width, e.Height );
Reference< XControl > xDialogControl( *this, UNO_QUERY_THROW );
@@ -547,7 +547,7 @@ throw (css::uno::RuntimeException, std::exception)
DBG_ASSERT( pOutDev, "Missing Default Device!" );
if ( pOutDev && !mbPosModified )
{
- // Currentley we are simply using MAP_APPFONT
+ // Currentley we are simply using MapUnit::MapAppFont
::Size aTmp( e.X, e.Y );
aTmp = ImplMapPixelToAppFont( pOutDev, aTmp );