diff options
author | Neil <nyamatongwe@gmail.com> | 2022-04-08 10:05:11 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2022-04-08 10:05:11 +1000 |
commit | 8a44ef9acfda0ec46a541f0be56333eb5cf6b0ff (patch) | |
tree | 5a916f02eeb2d7ae00412175458291c9934d585d /test | |
parent | a1961d248ac5521cea7bd22e4d7e2e203bf2d361 (diff) | |
download | scintilla-mirror-8a44ef9acfda0ec46a541f0be56333eb5cf6b0ff.tar.gz |
Feature [feature-requests:#1389] Initialize CaseFolderTable to ASCII so
subclasses do not need to call StandardASCII.
Avoid some lint warnings.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/testDocument.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
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<CaseFolderTable> pcft = std::make_unique<CaseFolderTable>(); - pcft->StandardASCII(); document.SetCaseFolder(std::move(pcft)); } } void SetSBCSFoldings(const Folding *foldings, size_t length) { std::unique_ptr<CaseFolderTable> pcft = std::make_unique<CaseFolderTable>(); - 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); |