[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - writerfilter/source
Caolán McNamara
caolanm at redhat.com
Fri Mar 21 04:39:03 PDT 2014
writerfilter/source/rtftok/rtfdocumentimpl.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 8a95aaa6055a568c678b6e4ee473b73b07100c2b
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/8691
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 2879282..45142af 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:
More information about the Libreoffice-commits
mailing list