diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-21 11:12:44 +0000 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-03-21 11:38:40 +0000 |
commit | 8a95aaa6055a568c678b6e4ee473b73b07100c2b (patch) | |
tree | 1f68126c6030e56fcccfce9b5ea72a478245da56 | |
parent | f9be1da8203d610a038732c6c8a80206b038fa79 (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.cxx | 2 |
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: |