summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-04-20 16:43:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-04-20 21:01:56 +0200
commit67af9b07bcbb98686b80610ccdbae0f7aaa65ca2 (patch)
tree8f1826275ff283daf91f8cf7f3706d3efb923a65 /svtools
parent2c624a5d1a2608bf4c577d3c36c4ccae77a7f2af (diff)
rename DrawFocusRect to InvertFocusRect
Change-Id: If7a951a3f5f68cebc7e7fedb810db74c99f94765 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114346 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/valueset.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index c4456b1364ac..821462879b82 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -1262,7 +1262,7 @@ void ValueSet::ImplDrawSelect(vcl::RenderContext& rRenderContext, sal_uInt16 nIt
if (nStyle & WB_MENUSTYLEVALUESET)
{
if (bFocus)
- DrawFocusRect(rRenderContext, aRect);
+ InvertFocusRect(rRenderContext, aRect);
if (bDrawSel)
{
rRenderContext.SetLineColor(mbBlackSel ? COL_BLACK : aDoubleColor);
@@ -1316,7 +1316,7 @@ void ValueSet::ImplDrawSelect(vcl::RenderContext& rRenderContext, sal_uInt16 nIt
}
rRenderContext.DrawRect(aRect2);
if (bFocus)
- DrawFocusRect(rRenderContext, aRect2);
+ InvertFocusRect(rRenderContext, aRect2);
}
ImplDrawItemText(rRenderContext, pItem->maText);