summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2023-03-13 12:14:14 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2023-03-13 12:21:33 +0000
commita4aeb2b0c474e0cd7a4c870865aa15462b6b6a3c (patch)
tree8a68866ea27262c07fec9b172c9e96452b1739c8 /sc
parent42e94211ad6dc2125a411c1768d0b3a677dba34d (diff)
lok: introduce resetCompatFlag
and reset logic of setCompatFlag/isCompatFlagSet changed in afb7b373c34bd6a1608a30eb8267fa6f8231e853 "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: I306ac0b77b65f99879f4018cfbc57354a158f38a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148783 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/tiledrendering/tiledrendering.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx b/sc/qa/unit/tiledrendering/tiledrendering.cxx
index 8f914b294f24..9d5d129e4987 100644
--- a/sc/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx
@@ -104,8 +104,7 @@ void ScTiledRenderingTest::tearDown()
m_callbackWrapper.clear();
- comphelper::LibreOfficeKit::setCompatFlag(
- comphelper::LibreOfficeKit::Compat::none);
+ comphelper::LibreOfficeKit::resetCompatFlag();
comphelper::LibreOfficeKit::setActive(false);