| commit | 48310b25eac39534b429a5a36cd6a303f5307722 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Thu Dec 22 10:45:52 2022 +0000 |
| committer | Caolán McNamara <caolanm@redhat.com> | Thu Dec 22 17:52:15 2022 +0000 |
| tree | ab1e21f6e93361e3c3ecd8d102533a1e89da4f34 | |
| parent | 1126fddc4a4bfaf9dcfb1fb79c4564e2babfa36d [diff] |
Related: tdf#152637 Erase after changing background color Change-Id: Ic63714304c32f066347a2654510e1fa1fbd16184 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144721 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx index f48a3b6..ea52910 100644 --- a/cui/source/tabpages/numfmt.cxx +++ b/cui/source/tabpages/numfmt.cxx
@@ -135,6 +135,7 @@ void SvxNumberPreview::Paint(vcl::RenderContext& rRenderContext, const ::tools:: svtools::ColorConfig aColorConfig; rRenderContext.SetTextColor(aColorConfig.GetColorValue(svtools::FONTCOLOR).nColor); rRenderContext.SetBackground(aColorConfig.GetColorValue(svtools::DOCCOLOR).nColor); rRenderContext.Erase(); vcl::Font aDrawFont = rRenderContext.GetFont(); Size aSzWnd(GetOutputSizePixel());