diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2021-10-12 16:27:52 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-11-01 18:54:24 +0100 |
commit | 06985b1024c2272c7bbfb26dd252a3be48e5d3d8 (patch) | |
tree | c4ba7342080dcee0b99eafbe2c0d274bf1e9a215 /ucb | |
parent | cf64fe2d02dcb7f3126026dc1face21ce3562392 (diff) |
ucb: webdav-curl: loplugin:constfields in ucb
[ replicate commit d8f8b4375998b62431c8605004e7c7d5c921ccc9 ]
Change-Id: I720fdfbeab13e9dd210f11a613cb606e946d68e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123505
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-curl/DAVTypes.hxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-curl/webdavcontent.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-curl/webdavdatasupplier.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/ucp/webdav-curl/DAVTypes.hxx b/ucb/source/ucp/webdav-curl/DAVTypes.hxx index e511bdcd31b7..ae3e5a076f60 100644 --- a/ucb/source/ucp/webdav-curl/DAVTypes.hxx +++ b/ucb/source/ucp/webdav-curl/DAVTypes.hxx @@ -188,9 +188,9 @@ namespace http_dav_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-curl/webdavcontent.hxx b/ucb/source/ucp/webdav-curl/webdavcontent.hxx index bfc59d4646a2..43c275cd2e7f 100644 --- a/ucb/source/ucp/webdav-curl/webdavcontent.hxx +++ b/ucb/source/ucp/webdav-curl/webdavcontent.hxx @@ -82,7 +82,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-curl/webdavdatasupplier.cxx b/ucb/source/ucp/webdav-curl/webdavdatasupplier.cxx index b7dfb86d167c..d7213a0d13ee 100644 --- a/ucb/source/ucp/webdav-curl/webdavdatasupplier.cxx +++ b/ucb/source/ucp/webdav-curl/webdavdatasupplier.cxx @@ -104,7 +104,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; |