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/ole/axbinarywriter.hxx | |
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/ole/axbinarywriter.hxx')
-rw-r--r-- | include/oox/ole/axbinarywriter.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/oox/ole/axbinarywriter.hxx b/include/oox/ole/axbinarywriter.hxx index 000ca96e550e..92c33e659405 100644 --- a/include/oox/ole/axbinarywriter.hxx +++ b/include/oox/ole/axbinarywriter.hxx @@ -68,8 +68,8 @@ public: private: BinaryOutputStream* mpOutStrm; ///< The wrapped input stream. sal_Int64 mnStrmPos; ///< Tracks relative position in the stream. - sal_Int64 mnStrmSize; ///< Size of the wrapped stream data. - sal_Int64 mnWrappedBeginPos; ///< starting pos or wrapped stream + sal_Int64 const mnStrmSize; ///< Size of the wrapped stream data. + sal_Int64 const mnWrappedBeginPos; ///< starting pos or wrapped stream }; /** A pair of integer values as a property. */ @@ -130,7 +130,7 @@ private: struct StringProperty : public ComplexProperty { OUString& mrValue; - sal_uInt32 mnSize; + sal_uInt32 const mnSize; explicit StringProperty( OUString& rValue, sal_uInt32 nSize ) : mrValue( rValue ), mnSize( nSize ) {} @@ -154,7 +154,7 @@ private: sal_Int64 mnPropFlags; ///< Flags specifying existing properties. sal_Int64 mnNextProp; ///< Next property to read. bool mbValid; ///< True = stream still valid. - bool mb64BitPropFlags; + bool const mb64BitPropFlags; }; |