diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 15:51:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-13 12:56:39 +0200 |
commit | 0302c9b192c3b7ba10daabed61d6864c24c14070 (patch) | |
tree | 4c17a2ff761e0513620704bd3ecceff4107d17cc /xmloff/source/style/xmlstyle.cxx | |
parent | ecf987682881258774f4ec1644474beae3366abe (diff) |
loplugin:constfields in xmloff
Change-Id: I9623e6b483b28f5b50a2c76016bcc319b375a35a
Reviewed-on: https://gerrit.libreoffice.org/60394
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style/xmlstyle.cxx')
-rw-r--r-- | xmloff/source/style/xmlstyle.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx index 642f1830c429..13d497381559 100644 --- a/xmloff/source/style/xmlstyle.cxx +++ b/xmloff/source/style/xmlstyle.cxx @@ -196,8 +196,8 @@ bool SvXMLStyleContext::IsTransient() const class SvXMLStyleIndex_Impl { - OUString sName; - sal_uInt16 nFamily; + OUString const sName; + sal_uInt16 const nFamily; const rtl::Reference<SvXMLStyleContext> mxStyle; public: @@ -243,7 +243,7 @@ class SvXMLStylesContext_Impl std::vector<rtl::Reference<SvXMLStyleContext>> aStyles; mutable std::unique_ptr<IndicesType> pIndices; - bool bAutomaticStyle; + bool const bAutomaticStyle; #if OSL_DEBUG_LEVEL > 0 mutable sal_uInt32 m_nIndexCreated; |