summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorRafael Lima <rafael.palma.lima@gmail.com>2022-10-10 19:03:31 +0200
committerRafael Lima <rafael.palma.lima@gmail.com>2022-10-10 22:05:31 +0200
commitebeb4ce43d04dbbd329f19210c0db86e2b1cf2a0 (patch)
tree7496f378df1e75c6bdfd9f3c8533ef9f680192b9 /cui
parentd58dcdae6f6f2367a6713ba7a109923a9c239b12 (diff)
Use correct color in cuicharmap.cxx
While fixing bug tdf#151232 (commited as 3e4697c7675430f5e4e2221c951971caee0bdeb8) I used the wrong color in cuicharmap. This patch fixes this error. Change-Id: I1435489424c5a2e343ab009852e51267cbc8eb01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141175 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/cuicharmap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index 684186e25a6b..457b5238ccdd 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -1163,7 +1163,7 @@ void SvxShowText::Paint(vcl::RenderContext& rRenderContext, const tools::Rectang
Color aTextCol = rRenderContext.GetTextColor();
Color aFillCol = rRenderContext.GetFillColor();
- Color aLineCol = rRenderContext.GetFillColor();
+ Color aLineCol = rRenderContext.GetLineColor();
const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
const Color aWindowTextColor(rStyleSettings.GetDialogTextColor());