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/impastpl.hxx | |
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/impastpl.hxx')
-rw-r--r-- | xmloff/source/style/impastpl.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/source/style/impastpl.hxx b/xmloff/source/style/impastpl.hxx index 49a93fc2a742..8ee00a30dc81 100644 --- a/xmloff/source/style/impastpl.hxx +++ b/xmloff/source/style/impastpl.hxx @@ -46,8 +46,8 @@ class SvXMLExport; class XMLAutoStylePoolProperties { OUString msName; - ::std::vector< XMLPropertyState > maProperties; - sal_uInt32 mnPos; + ::std::vector< XMLPropertyState > const maProperties; + sal_uInt32 const mnPos; public: @@ -67,7 +67,7 @@ public: typedef std::vector<std::unique_ptr<XMLAutoStylePoolProperties>> PropertiesListType; private: - OUString msParent; + OUString const msParent; PropertiesListType m_PropertiesList; public: @@ -102,8 +102,8 @@ struct XMLAutoStyleFamily typedef std::set<std::unique_ptr<XMLAutoStylePoolParent>, comphelper::UniquePtrValueLess<XMLAutoStylePoolParent>> ParentSetType; - sal_uInt32 mnFamily; - OUString maStrFamilyName; + sal_uInt32 const mnFamily; + OUString const maStrFamilyName; rtl::Reference<SvXMLExportPropertyMapper> mxMapper; ParentSetType m_ParentSet; @@ -111,8 +111,8 @@ struct XMLAutoStyleFamily std::set<OUString> maReservedNameSet; sal_uInt32 mnCount; sal_uInt32 mnName; - OUString maStrPrefix; - bool mbAsFamily; + OUString const maStrPrefix; + bool const mbAsFamily; XMLAutoStyleFamily( sal_Int32 nFamily, const OUString& rStrName, const rtl::Reference<SvXMLExportPropertyMapper>& rMapper, |