summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-05-24 13:45:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-05-24 16:58:55 +0200
commit78e003e0dcfe67cf56618a2af033abe37adee1ca (patch)
treeb6b882b41fd8115b3d0b41a540fb01f09da07dd1 /writerfilter
parentb358bb95c04772a6ff00d7fcbb6fbef9d3dca13c (diff)
forgot to update comment
in commit d6865e5cec34f5f521e0f9ec4ef3c7ad04503cfe Date: Fri May 24 11:52:30 2019 +0200 use std::unordered_map in RTFTokenizer Change-Id: I5197eae86c4611d1598dbb60bae4962ad0576ecd Reviewed-on: https://gerrit.libreoffice.org/72906 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtftokenizer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtftokenizer.hxx b/writerfilter/source/rtftok/rtftokenizer.hxx
index 4cc3f159fe5b..e2feb0499019 100644
--- a/writerfilter/source/rtftok/rtftokenizer.hxx
+++ b/writerfilter/source/rtftok/rtftokenizer.hxx
@@ -67,7 +67,7 @@ private:
RTFListener& m_rImport;
SvStream* m_pInStream;
css::uno::Reference<css::task::XStatusIndicator> const& m_xStatusIndicator;
- // This is the same as aRTFControlWords, but sorted
+ // This is the same as aRTFControlWords, but mapped by token name for fast lookup
static std::unordered_map<OString, RTFSymbol> s_aRTFControlWords;
static bool s_bControlWordsInitialised;
// This is the same as aRTFMathControlWords, but sorted