summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-13 20:49:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-15 16:28:03 +0100
commitc42cf09f17e683d7487b8b298bd2f5ff3587bf00 (patch)
treefe2f8f88435b0a26cbced67dc389d0eb5e06e515 /include
parenteb17993e235e6cec9342a77756851992295da9db (diff)
Revert "loplugin:constfields in tools"
This reverts commit 833c4965fc0941ea997852e3d99dcd7688e58c14. Change-Id: I130a91538627f9e83d94615e2ddd48da5a075d4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90517 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/tools/multisel.hxx10
-rw-r--r--include/tools/stream.hxx2
-rw-r--r--include/tools/vcompat.hxx2
-rw-r--r--include/tools/zcodec.hxx4
4 files changed, 9 insertions, 9 deletions
diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx
index feb96abd2760..3e06a3dce239 100644
--- a/include/tools/multisel.hxx
+++ b/include/tools/multisel.hxx
@@ -77,16 +77,16 @@ class SAL_WARN_UNUSED TOOLS_DLLPUBLIC StringRangeEnumerator
{
struct Range
{
- sal_Int32 const nFirst;
- sal_Int32 const nLast;
+ sal_Int32 nFirst;
+ sal_Int32 nLast;
Range( sal_Int32 i_nFirst, sal_Int32 i_nLast ) : nFirst( i_nFirst ), nLast( i_nLast ) {}
};
std::vector< StringRangeEnumerator::Range > maSequence;
sal_Int32 mnCount;
- sal_Int32 const mnMin;
- sal_Int32 const mnMax;
- sal_Int32 const mnOffset;
+ sal_Int32 mnMin;
+ sal_Int32 mnMax;
+ sal_Int32 mnOffset;
bool mbValidInput;
bool setRange( const OUString& i_rNewRange );
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index 2e8fbc6771b5..4cbe1a3e930c 100644
--- a/include/tools/stream.hxx
+++ b/include/tools/stream.hxx
@@ -98,7 +98,7 @@ struct SvLockBytesStat
class TOOLS_DLLPUBLIC SvLockBytes: public virtual SvRefBase
{
SvStream * m_pStream;
- bool const m_bOwner;
+ bool m_bOwner;
bool m_bSync;
protected:
diff --git a/include/tools/vcompat.hxx b/include/tools/vcompat.hxx
index 3fbf4afaa5b2..edf61c7dd9b1 100644
--- a/include/tools/vcompat.hxx
+++ b/include/tools/vcompat.hxx
@@ -39,7 +39,7 @@ class UNLESS_MERGELIBS(TOOLS_DLLPUBLIC) VersionCompat
SvStream* mpRWStm;
sal_uInt32 mnCompatPos;
sal_uInt32 mnTotalSize;
- StreamMode const mnStmMode;
+ StreamMode mnStmMode;
sal_uInt16 mnVersion;
VersionCompat( const VersionCompat& ) = delete;
diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx
index ecffc67d87bf..23922e197f91 100644
--- a/include/tools/zcodec.hxx
+++ b/include/tools/zcodec.hxx
@@ -40,11 +40,11 @@ class SAL_WARN_UNUSED TOOLS_DLLPUBLIC ZCodec
bool mbStatus;
bool mbFinish;
sal_uInt8* mpInBuf;
- size_t const mnInBufSize;
+ size_t mnInBufSize;
size_t mnInToRead;
SvStream* mpOStm;
sal_uInt8* mpOutBuf;
- size_t const mnOutBufSize;
+ size_t mnOutBufSize;
int mnCompressLevel;
bool mbGzLib;