diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-03-13 12:14:14 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-03-13 12:21:33 +0000 |
commit | a4aeb2b0c474e0cd7a4c870865aa15462b6b6a3c (patch) | |
tree | 8a68866ea27262c07fec9b172c9e96452b1739c8 /include | |
parent | 42e94211ad6dc2125a411c1768d0b3a677dba34d (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 'include')
-rw-r--r-- | include/comphelper/lok.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/comphelper/lok.hxx b/include/comphelper/lok.hxx index 4cfdb70a09d3..545136f762ea 100644 --- a/include/comphelper/lok.hxx +++ b/include/comphelper/lok.hxx @@ -84,6 +84,8 @@ enum Compat : sal_uInt32 COMPHELPER_DLLPUBLIC void setCompatFlag(Compat flag); /// Get compatibility flags COMPHELPER_DLLPUBLIC bool isCompatFlagSet(Compat flag); +/// Reset compatibility flags +COMPHELPER_DLLPUBLIC void resetCompatFlag(); /// Check whether clients want viewId in visible cursor invalidation payload. COMPHELPER_DLLPUBLIC bool isViewIdForVisCursorInvalidation(); |