[Libreoffice-commits] core.git: vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Nov 8 14:53:28 UTC 2019


 vcl/source/window/printdlg.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 7719b7fb93d42d9ff524c869ba9e347ff040025c
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Nov 8 13:54:56 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Nov 8 15:51:33 2019 +0100

    Resolves: tdf128672 nup missing erase of old content
    
    Change-Id: Ib00d7aeb5911e071cd8f1c8cd79574e194b87d98
    Reviewed-on: https://gerrit.libreoffice.org/82299
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 76924240f575..87d578c6f894 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -442,6 +442,8 @@ void PrintDialog::ShowNupOrderWindow::Paint(vcl::RenderContext& rRenderContext,
 {
     rRenderContext.SetMapMode(MapMode(MapUnit::MapPixel));
     rRenderContext.SetTextColor(rRenderContext.GetSettings().GetStyleSettings().GetFieldTextColor());
+    rRenderContext.SetBackground(Wallpaper(Application::GetSettings().GetStyleSettings().GetFieldColor()));
+    rRenderContext.Erase();
 
     int nPages = mnRows * mnColumns;
     Font aFont(rRenderContext.GetSettings().GetStyleSettings().GetFieldFont());


More information about the Libreoffice-commits mailing list