diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-04-01 10:56:48 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-04-01 11:06:47 +0200 |
commit | 5ce92b73ce06c805c66e53c48aa2c70c722aaf60 (patch) | |
tree | 57a9b861cffe23a8ca9d217383833e73da8bb8b7 /sw/qa | |
parent | de7cdbc5840fd7d958d486901e405890eff224b9 (diff) |
SwXTextFrame: restore semi-lost BackColor property
In the past in case FillStyle was set, BackColor wasn't ignored, now it
is, since 6e61ecd09679a66060f932835622821d39e92f01 (Merge back branch
alg_writerframes to trunk, 2014-03-19).
The intention there was that in case FillStyle is set, FillColor will be
used: so to keep both new users and old filters happy, just restore
handling of BackColor in case FillStyle is set, but not FillColor.
Change-Id: Ie034a959e72e48b617cf598af8f7afd030bb50c4
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index 4619fb74cb68..da5472d68560 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -1678,8 +1678,6 @@ DECLARE_OOXMLIMPORT_TEST(testMceWpg, "mce-wpg.docx") getParagraphOfText(1, xText, "DML1"); } -#if 0 -// FIXME port to FillAttributes DECLARE_OOXMLIMPORT_TEST(testMceNested, "mce-nested.docx") { // Vertical position of the textbox was incorrect due to incorrect nested mce handling. @@ -1704,7 +1702,6 @@ DECLARE_OOXMLIMPORT_TEST(testMceNested, "mce-nested.docx") CPPUNIT_ASSERT_EQUAL(awt::FontWeight::BOLD, getProperty<float>(getRun(xParagraph, 1), "CharWeight")); CPPUNIT_ASSERT_EQUAL(drawing::TextVerticalAdjust_BOTTOM, getProperty<drawing::TextVerticalAdjust>(xGroup->getByIndex(1), "TextVerticalAdjust")); } -#endif DECLARE_OOXMLIMPORT_TEST(testMissingPath, "missing-path.docx") { |