diff options
Diffstat (limited to 'sc/source/ui/view/output3.cxx')
-rw-r--r-- | sc/source/ui/view/output3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/output3.cxx b/sc/source/ui/view/output3.cxx index 2fc317b85094..bc6efec65400 100644 --- a/sc/source/ui/view/output3.cxx +++ b/sc/source/ui/view/output3.cxx @@ -240,7 +240,7 @@ void ScOutputData::DrawSelectiveObjects(SdrLayerID nLayer) "ScOutputData::DrawSelectiveObjects: More than one SdrPageView, still using 1st one (!)"); SdrPageWindow* patchedPageWindow(pPageView->GetPageWindow(0)); assert(nullptr != patchedPageWindow && "SdrPageWindow *must* exist when 0 != PageWindowCount()"); - SdrPaintWindow temporaryPaintWindow(*pDrawView, *mpDev); + SdrPaintWindow temporaryPaintWindow(*pLocalDrawView, *mpDev); SdrPaintWindow* previousPaintWindow(patchedPageWindow->patchPaintWindow(temporaryPaintWindow)); pPageView->DrawLayer(sal::static_int_cast<SdrLayerID>(nLayer), mpDev); patchedPageWindow->unpatchPaintWindow(previousPaintWindow); |