diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-12 17:12:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 07:56:21 +0200 |
commit | a84e3df74eecc8778e3d5be5dd80ad4ddb511edf (patch) | |
tree | 37c5f3584aab3fd520dbe0daf0950d7bbb3173c1 /include/oox/export | |
parent | fb1d3b580763a333bbbfe115d09e1b5cd8849675 (diff) |
loplugin:constfields in oox
Change-Id: I1e110d193ebfa30ab1ab0d85bfb6dc409e341439
Reviewed-on: https://gerrit.libreoffice.org/61728
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox/export')
-rw-r--r-- | include/oox/export/chartexport.hxx | 8 | ||||
-rw-r--r-- | include/oox/export/drawingml.hxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/oox/export/chartexport.hxx b/include/oox/export/chartexport.hxx index 9deb8ff95bf7..b974fc4c1ac7 100644 --- a/include/oox/export/chartexport.hxx +++ b/include/oox/export/chartexport.hxx @@ -78,9 +78,9 @@ enum AxesType }; struct AxisIdPair{ - AxesType nAxisType; - sal_Int32 nAxisId; - sal_Int32 nCrossAx; + AxesType const nAxisType; + sal_Int32 const nAxisId; + sal_Int32 const nCrossAx; AxisIdPair(AxesType nType, sal_Int32 nId, sal_Int32 nAx) : nAxisType(nType) @@ -96,7 +96,7 @@ public: typedef ::std::vector< AxisIdPair > AxisVector; private: - sal_Int32 mnXmlNamespace; + sal_Int32 const mnXmlNamespace; sal_Int32 mnSeriesCount; css::uno::Reference< css::frame::XModel > mxChartModel; css::uno::Reference< css::chart::XDiagram > mxDiagram; diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx index 393752f78df6..61adf25fe29b 100644 --- a/include/oox/export/drawingml.hxx +++ b/include/oox/export/drawingml.hxx @@ -126,7 +126,7 @@ private: static std::map<OUString, OUString> maWdpCache; /// To specify where write eg. the images to (like 'ppt', or 'word' - according to the OPC). - DocumentType meDocumentType; + DocumentType const meDocumentType; /// Parent exporter, used for text callback. DMLTextExport* mpTextExport; |