From 7a1bf5c10deb5f9d2e5b282dac9493d84aede659 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 28 Sep 2019 10:33:20 +0200 Subject: loplugin:constmethod in writerfilter Change-Id: I1e1c4e574e910ef9683520ae950b14eb4ebbc63f Reviewed-on: https://gerrit.libreoffice.org/79784 Tested-by: Jenkins Reviewed-by: Noel Grandin --- writerfilter/source/rtftok/rtftokenizer.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'writerfilter/source/rtftok/rtftokenizer.hxx') diff --git a/writerfilter/source/rtftok/rtftokenizer.hxx b/writerfilter/source/rtftok/rtftokenizer.hxx index e2feb0499019..5c1cd1949328 100644 --- a/writerfilter/source/rtftok/rtftokenizer.hxx +++ b/writerfilter/source/rtftok/rtftokenizer.hxx @@ -55,7 +55,7 @@ public: /// To be invoked by the popState() callback to signal when the importer leaves a group. void popGroup(); OUString getPosition(); - std::size_t getGroupStart() { return m_nGroupStart; } + std::size_t getGroupStart() const { return m_nGroupStart; } /// To look up additional properties of a math symbol. static bool lookupMathKeyword(RTFMathSymbol& rSymbol); -- cgit