diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-12-12 15:29:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-12-12 21:13:13 +0100 |
commit | dcad3c08b10ca6ef6ff01a43316d6dafcd0170b8 (patch) | |
tree | 56d835ed1a53d82eebc5a6e2233f3df7ec76de87 /cui | |
parent | f2c6faa72c60f1438340173f5a6dc5533bce55ba (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')
-rw-r--r-- | cui/source/customize/cfgutil.cxx | 4 |
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; } |