[Libreoffice-commits] core.git: writerfilter/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Fri May 24 15:00:18 UTC 2019


 writerfilter/source/rtftok/rtftokenizer.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 78e003e0dcfe67cf56618a2af033abe37adee1ca
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri May 24 13:45:22 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri May 24 16:58:55 2019 +0200

    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 at collabora.co.uk>

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


More information about the Libreoffice-commits mailing list