summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-21 11:12:44 +0000
committerMatúš Kukan <matus.kukan@collabora.com>2014-03-21 11:38:40 +0000
commit8a95aaa6055a568c678b6e4ee473b73b07100c2b (patch)
tree1f68126c6030e56fcccfce9b5ea72a478245da56
parentf9be1da8203d610a038732c6c8a80206b038fa79 (diff)
coverity#736084 Missing break in switch
Change-Id: I3c7a032441402455d0a6ed28fc2cd5ce958ead04 (cherry picked from commit 5c291a0287af46558d3ef96d18b114c371ddd31b) Reviewed-on: https://gerrit.libreoffice.org/8691 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com>
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 28792824eccc..45142af8e3c1 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -2451,11 +2451,13 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword)
RTFValue::Pointer_t pValue(new RTFValue(1));
m_aStates.top().aTableRowSprms.set(NS_sprm::LN_TCantSplit, pValue);
}
+ break;
case RTF_SECTUNLOCKED:
{
RTFValue::Pointer_t pValue(new RTFValue(!nParam));
m_aStates.top().aSectionSprms.set(NS_ooxml::LN_EG_SectPrContents_formProt, pValue);
}
+ break;
case RTF_PGNDEC:
case RTF_PGNUCRM:
case RTF_PGNLCRM: