summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/filter/xml/XMLStylesExportHelper.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/filter/xml/XMLStylesExportHelper.cxx b/sc/source/filter/xml/XMLStylesExportHelper.cxx
index 5b1b82ff87c0..26efde39f0d4 100644
--- a/sc/source/filter/xml/XMLStylesExportHelper.cxx
+++ b/sc/source/filter/xml/XMLStylesExportHelper.cxx
@@ -68,9 +68,7 @@ bool ScMyValidation::IsEqual(const ScMyValidation& aVal) const
if (aVal.bIgnoreBlanks == bIgnoreBlanks &&
aVal.bShowImputMessage == bShowImputMessage &&
aVal.bShowErrorMessage == bShowErrorMessage &&
- aVal.aBaseCell.Tab() == aBaseCell.Tab() &&
- aVal.aBaseCell.Col() == aBaseCell.Col() &&
- aVal.aBaseCell.Row() == aBaseCell.Row() &&
+ aVal.aBaseCell == aBaseCell &&
aVal.aAlertStyle == aAlertStyle &&
aVal.aValidationType == aValidationType &&
aVal.aOperator == aOperator &&