summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2017-06-13 10:39:15 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2017-06-13 10:39:15 +0200
commit7675d686b5d7c1729207d7baf4e7a91215b2cbff (patch)
tree4812ed9385b2022bc385fa6e604f826d8ee7fb8e
parentfac361d710dce2cd90b3c02430cb5cf04e1ae8cf (diff)
fix -Werror=implicit-fallthrough
Change-Id: If8e81cfa6d0764d7eb6346bda11c89a118659e32
-rw-r--r--src/lib/ABWContentCollector.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/ABWContentCollector.cpp b/src/lib/ABWContentCollector.cpp
index a28bc08..4cb9a78 100644
--- a/src/lib/ABWContentCollector.cpp
+++ b/src/lib/ABWContentCollector.cpp
@@ -1885,14 +1885,14 @@ bool libabw::ABWContentCollector::_convertFieldDTFormat(std::string const &dtFor
{
case 'Y':
list.insert("number:style", "long");
- // fall-through intended
+ /* FALLTHRU */
case 'y':
list.insert("librevenge:value-type", "year");
propVect.append(list);
break;
case 'B':
list.insert("number:style", "long");
- // fall-through intended
+ /* FALLTHRU */
case 'b':
case 'h':
list.insert("librevenge:value-type", "month");
@@ -1905,14 +1905,14 @@ bool libabw::ABWContentCollector::_convertFieldDTFormat(std::string const &dtFor
break;
case 'e':
list.insert("number:style", "long");
- // fall-through intended
+ /* FALLTHRU */
case 'd':
list.insert("librevenge:value-type", "day");
propVect.append(list);
break;
case 'A':
list.insert("number:style", "long");
- // fall-through intended
+ /* FALLTHRU */
case 'a':
list.insert("librevenge:value-type", "day-of-week");
propVect.append(list);
@@ -1920,7 +1920,7 @@ bool libabw::ABWContentCollector::_convertFieldDTFormat(std::string const &dtFor
case 'H':
list.insert("number:style", "long");
- // fall-through intended
+ /* FALLTHRU */
case 'I':
list.insert("librevenge:value-type", "hours");
propVect.append(list);