From 8a44ef9acfda0ec46a541f0be56333eb5cf6b0ff Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 8 Apr 2022 10:05:11 +1000 Subject: Feature [feature-requests:#1389] Initialize CaseFolderTable to ASCII so subclasses do not need to call StandardASCII. Avoid some lint warnings. --- test/unit/testDocument.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'test') diff --git a/test/unit/testDocument.cxx b/test/unit/testDocument.cxx index 4a7e20095..7f3d9c6bb 100644 --- a/test/unit/testDocument.cxx +++ b/test/unit/testDocument.cxx @@ -95,14 +95,12 @@ struct DocPlus { // This case folder will not handle many DBCS cases. Scintilla uses platform-specific code for DBCS // case folding which can not easily be inserted in platform-independent tests. std::unique_ptr pcft = std::make_unique(); - pcft->StandardASCII(); document.SetCaseFolder(std::move(pcft)); } } void SetSBCSFoldings(const Folding *foldings, size_t length) { std::unique_ptr pcft = std::make_unique(); - pcft->StandardASCII(); for (size_t block = 0; block < length; block++) { for (int fold = 0; fold < foldings[block].length; fold++) { pcft->SetTranslation(foldings[block].from + fold, foldings[block].to + fold); -- cgit v1.2.3