summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg/tpformula.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/optdlg/tpformula.cxx')
-rw-r--r--sc/source/ui/optdlg/tpformula.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/ui/optdlg/tpformula.cxx b/sc/source/ui/optdlg/tpformula.cxx
index 3cb64e4244b8..104661b61ddb 100644
--- a/sc/source/ui/optdlg/tpformula.cxx
+++ b/sc/source/ui/optdlg/tpformula.cxx
@@ -190,10 +190,7 @@ bool ScTpFormulaOptions::IsValidSeparatorSet() const
// Make sure the column and row separators are different.
OUString aColStr = mpEdSepArrayCol->GetText();
OUString aRowStr = mpEdSepArrayRow->GetText();
- if (aColStr == aRowStr)
- return false;
-
- return true;
+ return aColStr != aRowStr;
}
IMPL_LINK( ScTpFormulaOptions, ButtonHdl, Button*, pBtn, void )