summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/view/printfun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/printfun.cxx')
-rw-r--r--sc/source/ui/view/printfun.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx
index 15664211f0ff..b2ca243b63e5 100644
--- a/sc/source/ui/view/printfun.cxx
+++ b/sc/source/ui/view/printfun.cxx
@@ -1975,7 +1975,7 @@ long ScPrintFunc::PrintNotes( long nPageNo, long nNoteStart, bool bDoPrint, ScPr
// adjust aPageRect for left/right page
- tools::Rectangle aTempRect = tools::Rectangle( Point(), aPageSize );
+ tools::Rectangle aTempRect( Point(), aPageSize );
if (IsMirror(nPageNo))
{
aPageRect.SetLeft( ( aTempRect.Left() + nRightMargin ) * 100 / nZoom );
@@ -2044,7 +2044,7 @@ void ScPrintFunc::PrintPage( long nPageNo, SCCOL nX1, SCROW nY1, SCCOL nX2, SCRO
// adjust aPageRect for left/right page
- tools::Rectangle aTempRect = tools::Rectangle( Point(), aPageSize );
+ tools::Rectangle aTempRect( Point(), aPageSize );
if (IsMirror(nPageNo))
{
aPageRect.SetLeft( ( aTempRect.Left() + nRightMargin ) * 100 / nZoom );