[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - writerfilter/source
Caolán McNamara
caolanm at redhat.com
Fri Mar 21 04:38:32 PDT 2014
writerfilter/source/rtftok/rtfdocumentimpl.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit b22fbeb70719110eb7b8774fe96092e66861460a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Mar 21 11:12:44 2014 +0000
coverity#736084 Missing break in switch
Change-Id: I3c7a032441402455d0a6ed28fc2cd5ce958ead04
(cherry picked from commit 5c291a0287af46558d3ef96d18b114c371ddd31b)
Reviewed-on: https://gerrit.libreoffice.org/8690
Reviewed-by: Matúš Kukan <matus.kukan at collabora.com>
Tested-by: Matúš Kukan <matus.kukan at collabora.com>
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 54b6927..5078491 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -2666,11 +2666,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:
More information about the Libreoffice-commits
mailing list