[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sc/source

Stephan Bergmann sbergman at redhat.com
Wed Jan 29 06:33:21 PST 2014


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

New commits:
commit 2ad5510a108a48a0e0b00beb4f66ef38ce3a79b8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jan 28 12:34:27 2014 +0100

    Presumably "eType ==" is missing here
    
    Change-Id: I7af8cabac09369a9be605413b799289d48cb3f57
    (cherry picked from commit d18827e266d1bf44b0bac02ed486d2cdccba9c8a)
    Reviewed-on: https://gerrit.libreoffice.org/7724
    Tested-by: Kohei Yoshida <libreoffice at kohei.us>
    Reviewed-by: Kohei Yoshida <libreoffice at kohei.us>

diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx
index 2dc7a1e..08a7987 100644
--- a/sc/source/core/data/dptabres.cxx
+++ b/sc/source/core/data/dptabres.cxx
@@ -1383,7 +1383,7 @@ void ScDPResultMember::FillMemberResults(
         }
 
         ScDPItemData::Type eType = aItemData.GetType();
-        bIsNumeric = eType == ScDPItemData::Value || ScDPItemData::GroupValue;
+        bIsNumeric = eType == ScDPItemData::Value || eType == ScDPItemData::GroupValue;
     }
 
     const ScDPDimension*        pParentDim = GetParentDim();


More information about the Libreoffice-commits mailing list