diff options
Diffstat (limited to 'sw/source/uibase/shells/grfshex.cxx')
-rw-r--r-- | sw/source/uibase/shells/grfshex.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/grfshex.cxx b/sw/source/uibase/shells/grfshex.cxx index 69a18da6a07b..741e3cd54863 100644 --- a/sw/source/uibase/shells/grfshex.cxx +++ b/sw/source/uibase/shells/grfshex.cxx @@ -116,9 +116,9 @@ bool SwTextShell::InsertMediaDlg( SfxRequest& rReq ) if( aPrefSize.Width() && aPrefSize.Height() ) { if( pWindow ) - aSize = pWindow->PixelToLogic( aPrefSize, MAP_TWIP ); + aSize = pWindow->PixelToLogic( aPrefSize, MapUnit::MapTwip ); else - aSize = Application::GetDefaultDevice()->PixelToLogic( aPrefSize, MAP_TWIP ); + aSize = Application::GetDefaultDevice()->PixelToLogic( aPrefSize, MapUnit::MapTwip ); } else aSize = Size( 2835, 2835 ); |