summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/appenv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/app/appenv.cxx')
-rw-r--r--sw/source/uibase/app/appenv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/appenv.cxx b/sw/source/uibase/app/appenv.cxx
index 9dd8145a7b0f..447205517e6e 100644
--- a/sw/source/uibase/app/appenv.cxx
+++ b/sw/source/uibase/app/appenv.cxx
@@ -344,7 +344,7 @@ void SwModule::InsertEnv( SfxRequest& rReq )
// Borders (are put together by Shift-Offset and alignment)
Size aPaperSize = pPrt->PixelToLogic( pPrt->GetPaperSizePixel(),
- MapUnit::MapTwip);
+ MapMode(MapUnit::MapTwip));
if ( !aPaperSize.Width() && !aPaperSize.Height() )
aPaperSize = SvxPaperInfo::GetPaperSize(PAPER_A4);
if ( aPaperSize.Width() > aPaperSize.Height() )