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/tdoc | |
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/tdoc')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_datasupplier.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_stgelems.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx index 307eda58dca7..6f4c65582ec1 100644 --- a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx +++ b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx @@ -46,7 +46,7 @@ namespace tdoc_ucp struct ResultListEntry { - OUString aURL; + OUString const aURL; uno::Reference< ucb::XContentIdentifier > xId; uno::Reference< ucb::XContent > xContent; uno::Reference< sdbc::XRow > xRow; diff --git a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx index b949c4bb296b..536c4e5b6f10 100644 --- a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx +++ b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx @@ -173,7 +173,7 @@ private: css::uno::Reference< css::embed::XTransactedObject > m_xWrappedTransObj; css::uno::Reference< css::lang::XComponent > m_xWrappedComponent; css::uno::Reference< css::lang::XTypeProvider > m_xWrappedTypeProv; - bool m_bIsDocumentStorage; + bool const m_bIsDocumentStorage; StorageElementFactory::StorageMap::iterator m_aContainerIt; |