[Libreoffice-commits] .: sc/source

Lubos Lunak llunak at kemper.freedesktop.org
Wed Feb 22 05:43:16 PST 2012


 sc/source/core/data/dptabres.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 00f022bac10629d35eb6f073c3dfe90e120202b5
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Wed Feb 22 14:42:54 2012 +0100

    fix misleading comment caused by previous commit

diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx
index 7d98440..421c17d 100644
--- a/sc/source/core/data/dptabres.cxx
+++ b/sc/source/core/data/dptabres.cxx
@@ -174,7 +174,7 @@ static sal_Bool lcl_IsLess( const ScDPDataMember* pDataMember1, const ScDPDataMe
     sal_Bool bError1 = pAgg1 && pAgg1->HasError();
     sal_Bool bError2 = pAgg2 && pAgg2->HasError();
     if ( bError1 )
-        return sal_False;       // equal
+        return sal_False;       // errors are always sorted at the end
     else if ( bError2 )
         return sal_True;            // errors are always sorted at the end
     else


More information about the Libreoffice-commits mailing list