[Libreoffice-commits] core.git: sc/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Sun Nov 27 11:08:38 UTC 2016
sc/source/filter/xml/XMLStylesExportHelper.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit a62740c668b0813217337e417eca69d316cad972
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Sat Nov 26 22:08:24 2016 +0100
use the existing ScAddress::operator==
Change-Id: I04626875a822457ccef448278a3bc8f990760e57
Reviewed-on: https://gerrit.libreoffice.org/31253
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/sc/source/filter/xml/XMLStylesExportHelper.cxx b/sc/source/filter/xml/XMLStylesExportHelper.cxx
index 5b1b82f..26efde3 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 &&
More information about the Libreoffice-commits
mailing list