summaryrefslogtreecommitdiff
path: root/cui/source/customize/cfgutil.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-12-12 15:29:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-12-12 21:13:13 +0100
commitdcad3c08b10ca6ef6ff01a43316d6dafcd0170b8 (patch)
tree56d835ed1a53d82eebc5a6e2233f3df7ec76de87 /cui/source/customize/cfgutil.cxx
parentf2c6faa72c60f1438340173f5a6dc5533bce55ba (diff)
theChild->getName() already available as uiName
Change-Id: I2792b2ac4f0d17dfc2fe68eeacb4dee2173fe5d2 Reviewed-on: https://gerrit.libreoffice.org/85068 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/customize/cfgutil.cxx')
-rw-r--r--cui/source/customize/cfgutil.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx
index 51b41faf2e26..b464ff53f4e4 100644
--- a/cui/source/customize/cfgutil.cxx
+++ b/cui/source/customize/cfgutil.cxx
@@ -519,8 +519,8 @@ void CuiConfigGroupListBox::FillScriptList(const css::uno::Reference< css::scrip
OUString uiName = theChild->getName();
if ( bIsRootNode )
{
- if ( ! (theChild->getName() == user || theChild->getName() == share ||
- theChild->getName() == currentDocTitle ) )
+ if ( ! (uiName == user || uiName == share ||
+ uiName == currentDocTitle ) )
{
bDisplay=false;
}