diff options
Diffstat (limited to 'vcl/source/gdi/pdfextoutdevdata.cxx')
-rw-r--r-- | vcl/source/gdi/pdfextoutdevdata.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx b/vcl/source/gdi/pdfextoutdevdata.cxx index a31a7d568201..8543da75db9a 100644 --- a/vcl/source/gdi/pdfextoutdevdata.cxx +++ b/vcl/source/gdi/pdfextoutdevdata.cxx @@ -467,8 +467,9 @@ bool PageSyncData::PlaySyncPageAct( PDFWriter& rWriter, sal_uInt32& rCurGDIMtfAc // Look up the output rectangle from the previous // bitmap scale action if possible. This has the - // correct position for images repeated in - // Writer headers/footers for non-first pages. + // correct position and size for images with a + // custom translation (Writer header) or scaling + // (Impress notes page). if (rCurGDIMtfAction > 0) { const MetaAction* pAction = rMtf.GetAction(rCurGDIMtfAction - 1); @@ -477,6 +478,7 @@ bool PageSyncData::PlaySyncPageAct( PDFWriter& rWriter, sal_uInt32& rCurGDIMtfAc const MetaBmpScaleAction* pA = static_cast<const MetaBmpScaleAction*>(pAction); aOutputRect.SetPos(pA->GetPoint()); + aOutputRect.SetSize(pA->GetSize()); } } |