diff options
author | Matus Uzak <matus.uzak@gmail.com> | 2016-03-07 12:04:01 +0100 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-03-10 10:20:46 +0000 |
commit | 6802f760a69f3b1f203d70399f0d73764f9159d5 (patch) | |
tree | 17252a9645bedcf4bdbdecd4cc8ef43ae589ce2a /oox/source/drawingml/textrun.cxx | |
parent | a076feda8e6541ce611866e3f20f65648ec2b50b (diff) |
tdf#89927: PPTX import: Incorrect inheritance of text run fill properties
Make use of FillProperties in TextCharacterProperties. DrawingML:
Fill related elements in Text Run Properties are in sync with Table
Cell Properties and all of Line Properties.
Change-Id: I7c513ecfc5f94cf49e98a657384b5c0f5dddc1c7
Reviewed-on: https://gerrit.libreoffice.org/22979
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'oox/source/drawingml/textrun.cxx')
-rw-r--r-- | oox/source/drawingml/textrun.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/drawingml/textrun.cxx b/oox/source/drawingml/textrun.cxx index ca744e8dfe4a..35a49dd0fda2 100644 --- a/oox/source/drawingml/textrun.cxx +++ b/oox/source/drawingml/textrun.cxx @@ -151,7 +151,8 @@ sal_Int32 TextRun::insertAt( xTextFieldCursor->gotoEnd( sal_True ); - aTextCharacterProps.maCharColor.setSchemeClr( XML_hlink ); + aTextCharacterProps.maFillProperties.maFillColor.setSchemeClr( XML_hlink ); + aTextCharacterProps.maFillProperties.moFillType.set(XML_solidFill); if ( !maTextCharacterProperties.moUnderline.has() ) aTextCharacterProps.moUnderline.set( XML_sng ); |