summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2015-12-19 07:20:51 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2015-12-19 07:21:18 +0100
commit58f6e2ec8c546e7f927dfc333c8ae401f98e3dcf (patch)
treeb748325174375703b6b48fbc6fdc710a2794a2c6 /cui
parent6b57529888f384307b88cf5ead5e3e477c6c03b1 (diff)
loplugin:stringconstant
Change-Id: Iafe0c422f8681bd2ed5b825af180facb59aaf531
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index b1defa924e92..9f6c8fd4bd44 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -3396,7 +3396,7 @@ IMPL_LINK_TYPED( SvxToolbarConfigPage, EntrySelectHdl, MenuButton *, pButton, vo
if ( pNameDialog->Execute() == RET_OK ) {
pNameDialog->GetName(aNewName);
- if( aNewName == "" ) //tdf#80758 - Accelerator character ("~") is passed as
+ if( aNewName.isEmpty() ) //tdf#80758 - Accelerator character ("~") is passed as
pEntry->SetName( "~" ); // the button name in case of empty values.
else
pEntry->SetName( aNewName );