From 377f1e407897e59a3452e95082eb0d80abd07ed3 Mon Sep 17 00:00:00 2001 From: "Armin Le Grand (Allotropia)" Date: Tue, 25 Jan 2022 18:12:13 +0100 Subject: tdf#123973 fix missing MasterPage content in export The old fix tdf#96922 is no longer needed, so I remove it now. It prevents MasterPage content to be included in export. Checked that task is fixed && old task does bnot re-appear. Change-Id: I8b6923e01f6e24f662288e24d26634c06c9527f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128940 Tested-by: Jenkins Reviewed-by: Armin Le Grand (cherry picked from commit 87866def6bfe2ee91be34a5ce37b79d6da881617) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128952 Reviewed-by: Xisco Fauli --- svx/source/unodraw/UnoGraphicExporter.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx index 73d77cb54ea8..273eb04d4747 100644 --- a/svx/source/unodraw/UnoGraphicExporter.cxx +++ b/svx/source/unodraw/UnoGraphicExporter.cxx @@ -733,10 +733,6 @@ bool GraphicExporter::GetGraphic( ExportSettings const & rSettings, Graphic& aGr pView->SetPageVisible( false ); pView->ShowSdrPage( pPage ); - // tdf#96922 completely deactivate EditView PageVisualization, including - // PageBackground (formerly 'wiese'). - pView->SetPagePaintingAllowed(false); - const Point aNewOrg( pPage->GetLeftBorder(), pPage->GetUpperBorder() ); aNewSize = Size( aSize.Width() - pPage->GetLeftBorder() - pPage->GetRightBorder(), aSize.Height() - pPage->GetUpperBorder() - pPage->GetLowerBorder() ); -- cgit