svx/source/unodraw/UnoGraphicExporter.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 7d9851c65c33865b995932e0d83cee815edcbbce Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Wed Feb 2 12:10:36 2022 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Fri Feb 4 12:12:36 2022 +0100 tdf#147119:Revert "tdf#123973 fix missing MasterPage content in export" This reverts commit 87866def6bfe2ee91be34a5ce37b79d6da881617. Change-Id: Ic3c8c70ef789b83cec0614e766a3c067cbf078fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129351 Reviewed-by: Armin Le Grand <armin.le.gr...@me.com> Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> Tested-by: Jenkins Signed-off-by: Xisco Fauli <xiscofa...@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129407 diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx index 273eb04d4747..73d77cb54ea8 100644 --- a/svx/source/unodraw/UnoGraphicExporter.cxx +++ b/svx/source/unodraw/UnoGraphicExporter.cxx @@ -733,6 +733,10 @@ 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() );