summaryrefslogtreecommitdiff
path: root/starmath/source/dialog.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-04-14 12:19:04 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-04-14 06:20:15 +0200
commit222cf76001d835961537214eba38037ef40a8aa0 (patch)
treef947474d33c391b780877a1f0829cf487a512033 /starmath/source/dialog.cxx
parentb7b159d79c2b4ec53915e0b9c3e28912c289a5ba (diff)
starmath: size() > 0 -> !empty()
Change-Id: Id7c73870f58ebf04c2703cdf8b3d0ffe258b2c0d Reviewed-on: https://gerrit.libreoffice.org/36545 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r--starmath/source/dialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 4d7634c83703..43141395ddc6 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -1590,7 +1590,7 @@ bool SmSymbolDialog::SelectSymbolSet(const OUString &rSymbolSetName)
} );
m_pSymbolSetDisplay->SetSymbolSet( aSymbolSet );
- if (aSymbolSet.size() > 0)
+ if (!aSymbolSet.empty())
SelectSymbol(0);
bRet = true;