summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 046b244b2106..5122f35908ee 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -996,7 +996,6 @@ bool SaveInData::LoadSubMenus(
if ( bItem )
{
bool bIsUserDefined = true;
- bool bUseDefaultLabel = false;
if ( nType == css::ui::ItemType::DEFAULT )
{
@@ -1011,6 +1010,7 @@ bool SaveInData::LoadSubMenus(
bIsUserDefined = true;
}
+ bool bUseDefaultLabel = false;
// If custom label not set retrieve it from the command
// to info service
if ( aLabel.isEmpty() )
@@ -4290,7 +4290,6 @@ void ToolbarSaveInData::LoadToolbar(
if ( bItem )
{
bool bIsUserDefined = true;
- bool bUseDefaultLabel = false;
if ( nType == css::ui::ItemType::DEFAULT )
{
@@ -4305,6 +4304,7 @@ void ToolbarSaveInData::LoadToolbar(
bIsUserDefined = true;
}
+ bool bUseDefaultLabel = false;
// If custom label not set retrieve it from the command
// to info service
if ( aLabel.isEmpty() )