summaryrefslogtreecommitdiff
path: root/writerfilter/source/rtftok/rtfdocumentimpl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-28 10:33:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-28 13:47:45 +0200
commit7a1bf5c10deb5f9d2e5b282dac9493d84aede659 (patch)
tree834b78658f755ac939a35cb0373c882b98bfa202 /writerfilter/source/rtftok/rtfdocumentimpl.hxx
parent1141b6b0ce6581b587e174c9bbdddb88d36ea8c2 (diff)
loplugin:constmethod in writerfilter
Change-Id: I1e1c4e574e910ef9683520ae950b14eb4ebbc63f Reviewed-on: https://gerrit.libreoffice.org/79784 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/rtftok/rtfdocumentimpl.hxx')
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
index 0c69cc9a4563..5ee84d791e5c 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
@@ -709,7 +709,7 @@ public:
Stream& Mapper() { return *m_pMapperStream; }
void setSuperstream(RTFDocumentImpl* pSuperstream);
- const css::uno::Reference<css::lang::XMultiServiceFactory>& getModelFactory()
+ const css::uno::Reference<css::lang::XMultiServiceFactory>& getModelFactory() const
{
return m_xModelFactory;
}
@@ -723,7 +723,7 @@ public:
/// Send NS_ooxml::LN_settings_settings to dmapper.
void outputSettingsTable();
/// If the initial paragraph is started.
- bool getFirstRun() { return m_bFirstRun; }
+ bool getFirstRun() const { return m_bFirstRun; }
/// If we need to add a dummy paragraph before a section break.
void setNeedPar(bool bNeedPar);
/// Return the dmapper index of an RTF index for fonts.