summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2023-03-10 15:04:39 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2023-03-10 17:52:36 +0000
commitafb7b373c34bd6a1608a30eb8267fa6f8231e853 (patch)
treed2b82b5e4c7d2ba186a0c8fabe7af58d89da3b43 /sc
parentc804c5354855188b5a37219cfe11dc079dc235f4 (diff)
CppunitTest_sc_tiledrendering: reset CompatFlag in tearDown
Otherwise, there are some tests setting it to scPrintTwipsMsgs, so depending on the order of execution, it might affect other tests Change-Id: Ib0d08b1fe4e172bd5b03d63260e6b1c3fde26595 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148635 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/tiledrendering/tiledrendering.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx b/sc/qa/unit/tiledrendering/tiledrendering.cxx
index 84771a2c555c..adcb6415c6ec 100644
--- a/sc/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx
@@ -226,6 +226,10 @@ void ScTiledRenderingTest::tearDown()
}
m_callbackWrapper.clear();
+
+ comphelper::LibreOfficeKit::setCompatFlag(
+ comphelper::LibreOfficeKit::Compat::none);
+
comphelper::LibreOfficeKit::setActive(false);
UnoApiXmlTest::tearDown();