summaryrefslogtreecommitdiff
path: root/sw/qa/extras/globalfilter
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2015-03-18 10:31:11 +0100
committerZolnai Tamás <zolnaitamas2000@gmail.com>2015-03-21 16:19:09 +0100
commit8519d51b3a06a84d0d6418651e66e9bb534f1788 (patch)
treebba32ae5e640194ee0e2fd86e0c0a7ef16f42dbd /sw/qa/extras/globalfilter
parent89399a6ba7c1817dfdc7676603f3fa1106d398c5 (diff)
Char highlight: export character background to MSO formats based on settings
Change-Id: Iaaf9e7ee5e61cfabb0d675b83fa71776dece87e2
Diffstat (limited to 'sw/qa/extras/globalfilter')
-rw-r--r--sw/qa/extras/globalfilter/globalfilter.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/qa/extras/globalfilter/globalfilter.cxx b/sw/qa/extras/globalfilter/globalfilter.cxx
index 71d2adaa5aa7..a74103765447 100644
--- a/sw/qa/extras/globalfilter/globalfilter.cxx
+++ b/sw/qa/extras/globalfilter/globalfilter.cxx
@@ -18,6 +18,7 @@
#include <doc.hxx>
#include <ndgrf.hxx>
#include <drawdoc.hxx>
+#include <unotools/fltrcfg.hxx>
class Test : public SwModelTestBase
{
@@ -364,6 +365,9 @@ void Test::testCharHighlight()
"Office Open XML Text",
};
+ SvtFilterOptions& rOpt = SvtFilterOptions::Get();
+ rOpt.SetCharBackground2Shading();
+
for( size_t nFilter = 0; nFilter < SAL_N_ELEMENTS(aFilterNames); ++nFilter )
{
if (mxComponent.is())