diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-04-09 17:53:13 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-04-10 07:32:18 +0200 |
commit | eb9475b940450761ae5196b2a7635d1dfeaebb5f (patch) | |
tree | 5daf48f716ef2680decc62158b05cb58b904fe6e | |
parent | b51519bfd1c4643a7ce74e4b3934281460027703 (diff) |
RTF equivalent of 229f6e187bd85d0af47da9feffef2d9ac7f83120
Change-Id: I18165df2a2a59d460b06b0cfd3fcdae977bc65ee
-rw-r--r-- | writerfilter/source/rtftok/rtfsdrimport.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtfsdrimport.cxx b/writerfilter/source/rtftok/rtfsdrimport.cxx index f5f53b2cf7f1..6d296a4d9882 100644 --- a/writerfilter/source/rtftok/rtfsdrimport.cxx +++ b/writerfilter/source/rtftok/rtfsdrimport.cxx @@ -179,7 +179,11 @@ void RTFSdrImport::resolve(RTFShape& rShape) else if (i->first == "fillColor" && xPropertySet.is()) { aAny <<= msfilter::util::BGRToRGB(i->second.toInt32()); - xPropertySet->setPropertyValue("FillColor", aAny); + if (bTextFrame) + xPropertySet->setPropertyValue("BackColor", aAny); + else + xPropertySet->setPropertyValue("FillColor", aAny); + xPropertySet->setPropertyValue("BackColorTransparency", uno::makeAny(sal_Int32(0))); } else if ( i->first == "fillBackColor" ) ; // Ignore: complementer of fillColor |