summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/document.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 59b23522ffa5..213e16dd31bf 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -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);