summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-05-18 09:04:40 +0200
committerCaolán McNamara <caolanm@redhat.com>2016-05-18 15:10:32 +0000
commit7c105b0014b59349bd110b249e1865d9e6abbb94 (patch)
treee313698a73c23e31265552b6bac13e6e7d3d40d9 /writerfilter
parent7879b89da30025c8efb812bb31a88f9e382b42a5 (diff)
tdf#82073 RTF import: handle \clcbpatraw
Quoting the RTF spec: "Same as \clcbpatN for use with table styles." (cherry picked from commit ceaa06bc7153387238eead0a69d874ed35241793) Conflicts: writerfilter/source/rtftok/rtfdispatchvalue.cxx Change-Id: Icdb89bac5b41036dadb1901f18aeb21ef2512908 Reviewed-on: https://gerrit.libreoffice.org/25103 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 2f1737bae972..cabc7f92f5d9 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -3993,6 +3993,7 @@ RTFError RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
}
break;
case RTF_CLCBPAT:
+ case RTF_CLCBPATRAW:
{
auto pValue = std::make_shared<RTFValue>(getColorTable(nParam));
lcl_putNestedAttribute(m_aStates.top().aTableCellSprms, NS_ooxml::LN_CT_TcPrBase_shd, NS_ooxml::LN_CT_Shd_fill, pValue);