summaryrefslogtreecommitdiff
path: root/svx/source/dialog
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-12-10 14:06:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-12-10 22:03:50 +0100
commit280a204b8230e2ea5626844e72f2d315cdecb931 (patch)
treef338067057479799ca4b4b375133669100e9b6d6 /svx/source/dialog
parentdc54afe74f6010f133ca94f7342d19da87d363f1 (diff)
Resolves: tdf#121946 first time draw uses gray bg
Change-Id: Ia0491eebe8fa7ea2c2377ca96c758c681da5470a Reviewed-on: https://gerrit.libreoffice.org/64875 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/dialog')
-rw-r--r--svx/source/dialog/charmap.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx
index ed525834a709..db400f99c9a2 100644
--- a/svx/source/dialog/charmap.cxx
+++ b/svx/source/dialog/charmap.cxx
@@ -623,6 +623,7 @@ void SvxShowCharSet::InitSettings(vcl::RenderContext& rRenderContext)
if (mbUpdateBackground)
{
rRenderContext.SetBackground(rStyleSettings.GetWindowColor());
+ rRenderContext.Erase();
mbUpdateBackground = false;
}