diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-26 12:50:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-26 14:50:19 +0200 |
commit | d8f8b4375998b62431c8605004e7c7d5c921ccc9 (patch) | |
tree | 0eb227ba99c31e41224de134ba8d925536473953 /ucb/source/ucp/webdav-neon | |
parent | c04a8576f07cb837439959b8bdbb8b620684d508 (diff) |
loplugin:constfields in ucb
Change-Id: I81a4b6241d6ff2e04903ddf2955463514d04ac0b
Reviewed-on: https://gerrit.libreoffice.org/60986
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/webdav-neon')
-rw-r--r-- | ucb/source/ucp/webdav-neon/DAVTypes.hxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonLockStore.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.hxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/ucb/source/ucp/webdav-neon/DAVTypes.hxx b/ucb/source/ucp/webdav-neon/DAVTypes.hxx index 3f1d6ec1b3a2..6bb4d15a6d38 100644 --- a/ucb/source/ucp/webdav-neon/DAVTypes.hxx +++ b/ucb/source/ucp/webdav-neon/DAVTypes.hxx @@ -198,9 +198,9 @@ namespace webdav_ucp struct ProppatchValue { - ProppatchOperation operation; - OUString name; - css::uno::Any value; + ProppatchOperation const operation; + OUString const name; + css::uno::Any const value; ProppatchValue( const ProppatchOperation o, const OUString & n, diff --git a/ucb/source/ucp/webdav-neon/NeonLockStore.hxx b/ucb/source/ucp/webdav-neon/NeonLockStore.hxx index 7a76a321ced6..0cee2063fd31 100644 --- a/ucb/source/ucp/webdav-neon/NeonLockStore.hxx +++ b/ucb/source/ucp/webdav-neon/NeonLockStore.hxx @@ -63,7 +63,7 @@ typedef std::map< NeonLock *, LockInfo > LockInfoMap; class NeonLockStore { osl::Mutex m_aMutex; - ne_lock_store * m_pNeonLockStore; + ne_lock_store * const m_pNeonLockStore; rtl::Reference< TickerThread > m_pTickerThread; LockInfoMap m_aLockInfoMap; diff --git a/ucb/source/ucp/webdav-neon/NeonSession.hxx b/ucb/source/ucp/webdav-neon/NeonSession.hxx index 0cc1f63406bc..2adebaacd3fd 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.hxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.hxx @@ -52,9 +52,9 @@ private: OUString m_aProxyName; sal_Int32 m_nPort; sal_Int32 m_nProxyPort; - css::uno::Sequence< css::beans::NamedValue > m_aFlags; + css::uno::Sequence< css::beans::NamedValue > const m_aFlags; HttpSession * m_pHttpSession; - void * m_pRequestData; + void * const m_pRequestData; const ucbhelper::InternetProxyDecider & m_rProxyDecider; // @@@ This should really be per-request data. But Neon currently diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx index 4eb700d91d36..2d56c02b42c3 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx @@ -94,7 +94,7 @@ class Content : public ::ucbhelper::ContentImplHelper, ResourceType m_eResourceTypeForLocks; ContentProvider* m_pProvider; // No need for a ref, base class holds object bool m_bTransient; - bool m_bCollection; + bool const m_bCollection; bool m_bDidGetOrHead; std::vector< OUString > m_aFailedPropNames; // Options Cache lifetime diff --git a/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx b/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx index 0daa26265611..c933929bc8c7 100644 --- a/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx +++ b/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx @@ -87,7 +87,7 @@ struct DataSupplier_Impl ResultList m_Results; rtl::Reference< Content > m_xContent; uno::Reference< uno::XComponentContext > m_xContext; - sal_Int32 m_nOpenMode; + sal_Int32 const m_nOpenMode; bool m_bCountFinal; bool m_bThrowException; |