From 8c4490d4980087cfe1735984d6e41130a6560524 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 4 Nov 2022 16:54:58 +0000 Subject: ofz#53011 Timeout: drop categorized tokens we don't have handlers for MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit since commit 3514ad82c4200be292ef6eaa1e94c5c6a41884e4 Date: Mon Dec 10 10:02:46 2012 +0100 sw: unused SwRTFParser Change-Id: Iaabd3d992f5e8cd8166afd3520fa8552b6219e27 we only had writer handlers back then so misplacement of these "private" tags in unexpected context was always a hang, but with no consumers of them we can drop them entirely and avoid the problem. Change-Id: I6a914e5adcbebba52171d8327414f1c71ada7f19 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142288 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- svtools/source/svrtf/rtfkeywd.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'svtools') diff --git a/svtools/source/svrtf/rtfkeywd.cxx b/svtools/source/svrtf/rtfkeywd.cxx index e4864d7eddd2..e805b3cd9359 100644 --- a/svtools/source/svrtf/rtfkeywd.cxx +++ b/svtools/source/svrtf/rtfkeywd.cxx @@ -1112,12 +1112,6 @@ static RTF_TokenEntry aRTFTokenTab[] = { {std::u16string_view(u"" OOO_STRING_SVTOOLS_RTF_FLYCOLUMN), RTF_FLY_COLUMN}, {std::u16string_view(u"" OOO_STRING_SVTOOLS_RTF_FLYPAGE), RTF_FLY_PAGE}, - {std::u16string_view(u"" OOO_STRING_SVTOOLS_RTF_BRDBOX), RTF_BRDBOX}, - {std::u16string_view(u"" OOO_STRING_SVTOOLS_RTF_BRDLNCOL), RTF_BRDLINE_COL}, - {std::u16string_view(u"" OOO_STRING_SVTOOLS_RTF_BRDLNIN), RTF_BRDLINE_IN}, - {std::u16string_view(u"" OOO_STRING_SVTOOLS_RTF_BRDLNOUT), RTF_BRDLINE_OUT}, - {std::u16string_view(u"" OOO_STRING_SVTOOLS_RTF_BRDLNDIST), RTF_BRDLINE_DIST}, - {std::u16string_view(u"" OOO_STRING_SVTOOLS_RTF_SHADOW), RTF_SHADOW}, {std::u16string_view(u"" OOO_STRING_SVTOOLS_RTF_SHDWDIST), RTF_SHDW_DIST}, {std::u16string_view(u"" OOO_STRING_SVTOOLS_RTF_SHDWSTYLE), RTF_SHDW_STYLE}, -- cgit