diff options
Diffstat (limited to 'editeng/source/items')
-rw-r--r-- | editeng/source/items/paperinf.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editeng/source/items/paperinf.cxx b/editeng/source/items/paperinf.cxx index 9f2da29c14eb..c3b4f7166946 100644 --- a/editeng/source/items/paperinf.cxx +++ b/editeng/source/items/paperinf.cxx @@ -85,12 +85,11 @@ Size SvxPaperInfo::GetPaperSize( const Printer* pPrinter ) } -Paper SvxPaperInfo::GetSvxPaper( const Size &rSize, MapUnit eUnit, bool bSloppy ) +Paper SvxPaperInfo::GetSvxPaper( const Size &rSize, MapUnit eUnit ) { Size aSize(eUnit == MapUnit::Map100thMM ? rSize : OutputDevice::LogicToLogic(rSize, MapMode(eUnit), MapMode(MapUnit::Map100thMM))); PaperInfo aInfo(aSize.Width(), aSize.Height()); - if (bSloppy) - aInfo.doSloppyFit(); + aInfo.doSloppyFit(); return aInfo.getPaper(); } |