diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2018-01-09 18:45:59 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2018-01-11 12:54:11 +0100 |
commit | 0f2104cd745329852e6a6d9c93f6af7c5a8c646a (patch) | |
tree | 6cc47282098f2379c0f13ab0246269db530425cb /starmath/source/dialog.cxx | |
parent | e57a036939e27ecd173ace691689e26a6a33df8e (diff) |
starmath: getLength() > 0 -> !isEmpty()
Change-Id: I72e56e8e8cad77084bf771df8d85cb7d85712437
Reviewed-on: https://gerrit.libreoffice.org/47640
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.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 3a92349c82f1..ca70ff1626c8 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -1929,7 +1929,7 @@ void SmSymDefineDialog::UpdateButtons() OUString aTmpSymbolName (pSymbols->GetText()), aTmpSymbolSetName (pSymbolSets->GetText()); - if (aTmpSymbolName.getLength() > 0 && aTmpSymbolSetName.getLength() > 0) + if (!aTmpSymbolName.isEmpty() && !aTmpSymbolSetName.isEmpty()) { // are all settings equal? //! (Font-, Style- and SymbolSet name comparison is not case sensitive) |