summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-08-03 10:45:23 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-08-04 10:57:08 +0200
commitb5e60724ac73bb0e62b249145a8931fd6166bb69 (patch)
treede8006953607507a8a7ef6781e590ef9a7da14bd /writerfilter
parentded5b1ecdef42fab84fa57ab504b4cc006a4df91 (diff)
fdo#80986: disable highlight DOCX import
Highlight support is not implemented fully, so it seems better to disable DOCX import of it until it is finished. Highlight can't be modified on the UI and is not saved to ODT/DOC (regression). Regression from: 8b949134441056a1455d67ddfdd7e0bc5f2ee682 Change-Id: I94891769766ae90017e8afa70e65d080d5270202
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/DomainMapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index bd0b370991a3..e719ef1a20e7 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -1367,7 +1367,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext )
{
sal_Int32 nColor = 0;
if( (mbIsHighlightSet = getColorFromIndex(nIntValue, nColor)) )
- rContext->Insert(PROP_CHAR_HIGHLIGHT, uno::makeAny( nColor ));
+ rContext->Insert(PROP_CHAR_BACK_COLOR, uno::makeAny( nColor ));
else if (mnBackgroundColor)
rContext->Insert(PROP_CHAR_BACK_COLOR, uno::makeAny( mnBackgroundColor ));
else