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>
This commit is contained in:
parent
f2c6faa72c
commit
dcad3c08b1
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user