sc/source/filter/xml/XMLStylesExportHelper.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit a62740c668b0813217337e417eca69d316cad972
Author: Markus Mohrhard <markus.mohrh...@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.mohrh...@googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrh...@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 &&
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to