diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-24 12:58:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-24 13:51:10 +0100 |
commit | 3de6d4d3c7b733fde0feef3d77aeb7c4c48724d0 (patch) | |
tree | d3ab5c4bcde3d67fc40670c03492b33adc5ccaec /include | |
parent | da5377c88a26b167e94c030e8c8ac5251497e43b (diff) |
loplugin:unusedfields make some fields private
this is one of the secondary analyses this plugin performs
Change-Id: I022b9eda994acbd25714025b666194266e896640
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143215
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/lnkbase.hxx | 7 | ||||
-rw-r--r-- | include/sfx2/objsh.hxx | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/include/sfx2/lnkbase.hxx b/include/sfx2/lnkbase.hxx index cf108319758f..00f48067bbbe 100644 --- a/include/sfx2/lnkbase.hxx +++ b/include/sfx2/lnkbase.hxx @@ -88,6 +88,9 @@ private: bool bSynchron : 1; bool bWasLastEditOK : 1; bool m_bIsConnect : 1; + bool m_bIsReadOnly; + css::uno::Reference<css::io::XInputStream> + m_xInputStreamToLoadFrom; DECL_DLLPRIVATE_LINK( EndEditHdl, const OUString&, void ); @@ -99,10 +102,6 @@ protected: // Set LinkSourceName without action void SetName( const OUString & rLn ); - bool m_bIsReadOnly; - css::uno::Reference<css::io::XInputStream> - m_xInputStreamToLoadFrom; - SvBaseLink(); SvBaseLink( SfxLinkUpdateMode nLinkType, SotClipboardFormatId nContentType ); virtual ~SvBaseLink() override; diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index f27948d81b64..ef1a0a33e1dc 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -798,8 +798,10 @@ public: struct ModifyBlocker_Impl { + private: SfxObjectShell* pPersist; bool bWasEnabled; + public: ModifyBlocker_Impl( SfxObjectShell* pPersistP ) : pPersist( pPersistP ) { bWasEnabled = pPersistP->IsEnableSetModified(); |