diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-11-26 22:08:24 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-11-27 11:08:14 +0000 |
commit | a62740c668b0813217337e417eca69d316cad972 (patch) | |
tree | 3786299b6bf3145e8d505bb8f836e85373ce4425 /sc | |
parent | 719f7cb94ce783349fb1cf366a78edd9996d3e37 (diff) |
use the existing ScAddress::operator==
Change-Id: I04626875a822457ccef448278a3bc8f990760e57
Reviewed-on: https://gerrit.libreoffice.org/31253
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/XMLStylesExportHelper.cxx | 4 |
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 && |