[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sc/source
Caolán McNamara
caolanm at redhat.com
Wed May 28 08:25:20 PDT 2014
sc/source/core/data/dpgroup.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4ec581cd65875e8c40a00cd379c9124cbc91eaea
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed May 28 16:19:36 2014 +0100
coverity#1078626 Missing break in switch
Change-Id: I4b9b846049d9802a319b403e1f45734b7bd604f2
(cherry picked from commit 4e3e1420af51f7776dceb6b2800b761e57ddfe63)
diff --git a/sc/source/core/data/dpgroup.cxx b/sc/source/core/data/dpgroup.cxx
index 6459b72..f2a68f5 100644
--- a/sc/source/core/data/dpgroup.cxx
+++ b/sc/source/core/data/dpgroup.cxx
@@ -283,7 +283,7 @@ bool isDateInGroup(const ScDPItemData& rGroupItem, const ScDPItemData& rChildIte
if (nGroupPart == com::sun::star::sheet::DataPilotFieldGroupBy::QUARTERS)
// months and quarters are both 1-based
return (nGroupValue - 1 == (nChildValue - 1) / 3);
-
+ break;
case com::sun::star::sheet::DataPilotFieldGroupBy::DAYS:
// a day is only contained in its quarter or month
if (nGroupPart == com::sun::star::sheet::DataPilotFieldGroupBy::MONTHS ||
More information about the Libreoffice-commits
mailing list