diff options
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; } |