summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-28 16:19:36 +0100
committerAndras Timar <andras.timar@collabora.com>2014-06-02 19:01:56 +0200
commit4e6516dac6ce42e70f60e86c4bcf53fbb30123a5 (patch)
treeea66e44a30b168686e6cf9c4a3969ad50baa17c8 /sc
parent59832b49a1abb05c67005512a9c8fce6d676a5a5 (diff)
coverity#1078626 Missing break in switch
Change-Id: I4b9b846049d9802a319b403e1f45734b7bd604f2 (cherry picked from commit 4e3e1420af51f7776dceb6b2800b761e57ddfe63) Reviewed-on: https://gerrit.libreoffice.org/9529 Tested-by: Kohei Yoshida <libreoffice@kohei.us> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/dpgroup.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dpgroup.cxx b/sc/source/core/data/dpgroup.cxx
index e5da7993859c..2936939be8bf 100644
--- a/sc/source/core/data/dpgroup.cxx
+++ b/sc/source/core/data/dpgroup.cxx
@@ -287,7 +287,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 ||