cui/source/dialogs/cuicharmap.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 479ae2da64cb322e58834973743260550d6dfafc
Author:     Rafael Lima <rafael.palma.l...@gmail.com>
AuthorDate: Mon Oct 10 19:03:31 2022 +0200
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Tue Oct 11 03:58:24 2022 +0200

    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 <fit...@ubuntu.com>
    Tested-by: Jenkins
    (cherry picked from commit ebeb4ce43d04dbbd329f19210c0db86e2b1cf2a0)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141178

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());

Reply via email to