Only decrase zoom on fit-to-page printout when printing frame
Change-Id: I51466924823bc574acfed6cff9fbd1bc4c77931b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158618 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
parent
9278577e8f
commit
66937039f5
1 changed files with 1 additions and 1 deletions
|
@ -1547,7 +1547,7 @@ void SmDocShell::Impl_Print(OutputDevice& rOutDev, const SmPrintUIOptions& rPrin
|
|||
sal_uInt16 nZ
|
||||
= std::min(o3tl::convert(aOutRect.GetWidth(), 100, aSize.Width()),
|
||||
o3tl::convert(aOutRect.GetHeight(), 100, aSize.Height()));
|
||||
if (nZ > MINZOOM)
|
||||
if (bIsPrintFrame && nZ > MINZOOM)
|
||||
nZ -= 10;
|
||||
Fraction aFraction(std::clamp(nZ, MINZOOM, MAXZOOM), 100);
|
||||
|
||||
|
|
Loading…
Reference in a new issue