diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-11 10:46:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 07:56:12 +0200 |
commit | fb1d3b580763a333bbbfe115d09e1b5cd8849675 (patch) | |
tree | 93cf0598c86ba188f69ab30425ffea856ea9886b /sc/inc/linkuno.hxx | |
parent | 40bc840da261fcc5652e5278dc2566b61f990884 (diff) |
loplugin:constfields in sc
Change-Id: If326175d571d15752efd1b63df45b2bc785f7541
Reviewed-on: https://gerrit.libreoffice.org/61653
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/linkuno.hxx')
-rw-r--r-- | sc/inc/linkuno.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sc/inc/linkuno.hxx b/sc/inc/linkuno.hxx index 1570039607f9..38319c46b644 100644 --- a/sc/inc/linkuno.hxx +++ b/sc/inc/linkuno.hxx @@ -56,7 +56,7 @@ class ScSheetLinkObj : public cppu::WeakImplHelper< public SfxListener { private: - SfxItemPropertySet aPropSet; + SfxItemPropertySet const aPropSet; ScDocShell* pDocShell; OUString aFileName; XRefreshListenerArr_Impl aRefreshListeners; @@ -162,9 +162,9 @@ class ScAreaLinkObj : public cppu::WeakImplHelper< public SfxListener { private: - SfxItemPropertySet aPropSet; - ScDocShell* pDocShell; - size_t nPos; + SfxItemPropertySet const aPropSet; + ScDocShell* pDocShell; + size_t const nPos; XRefreshListenerArr_Impl aRefreshListeners; void Modify_Impl( const OUString* pNewFile, const OUString* pNewFilter, @@ -275,10 +275,10 @@ class ScDDELinkObj : public cppu::WeakImplHelper< public SfxListener { private: - ScDocShell* pDocShell; - OUString aAppl; - OUString aTopic; - OUString aItem; + ScDocShell* pDocShell; + OUString const aAppl; + OUString const aTopic; + OUString const aItem; XRefreshListenerArr_Impl aRefreshListeners; void Refreshed_Impl(); @@ -388,7 +388,7 @@ private: private: ScDocShell* mpDocShell; ScExternalRefCache::TableTypeRef mpTable; - size_t mnIndex; + size_t const mnIndex; }; class ScExternalDocLinkObj : public cppu::WeakImplHelper< css::sheet::XExternalDocLink > @@ -422,9 +422,9 @@ public: virtual sal_Int32 SAL_CALL getTokenIndex() override; private: - ScDocShell* mpDocShell; + ScDocShell* const mpDocShell; ScExternalRefManager* mpRefMgr; - sal_uInt16 mnFileId; + sal_uInt16 const mnFileId; }; /** This is the UNO API equivalent of ScExternalRefManager. */ @@ -459,7 +459,7 @@ private: ScExternalDocLinksObj(const ScExternalDocLinksObj&) = delete; private: - ScDocShell* mpDocShell; + ScDocShell* const mpDocShell; ScExternalRefManager* mpRefMgr; }; |