diff options
Diffstat (limited to 'sc/source/ui/optdlg')
-rw-r--r-- | sc/source/ui/optdlg/tpformula.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/optdlg/tpformula.cxx b/sc/source/ui/optdlg/tpformula.cxx index 9e86800db4a0..5d625935b4a7 100644 --- a/sc/source/ui/optdlg/tpformula.cxx +++ b/sc/source/ui/optdlg/tpformula.cxx @@ -194,7 +194,7 @@ IMPL_LINK( ScTpFormulaOptions, SepModifyHdl, Edit*, pEdit ) pEdit->SetText(aStr); } - if ((!IsValidSeparator(aStr) || !IsValidSeparatorSet()) && maOldSepValue.getLength()) + if ((!IsValidSeparator(aStr) || !IsValidSeparatorSet()) && !maOldSepValue.isEmpty()) // Invalid separator. Restore the old value. pEdit->SetText(maOldSepValue); |