diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-12-01 15:37:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-12-01 21:28:36 +0100 |
commit | 8e33793d72a0561ebcf19ca22df814bb347813b7 (patch) | |
tree | d751b49663bf96dfc492d64281f6820bc8b42e1a /sw/inc | |
parent | c6aae3f4035f0a2dceba94b1956f5fc0ace3b3ee (diff) |
loplugin:unusedfields make some fields private
Change-Id: I7eea4baf65c0b49d0edf2516d84914f94c5194d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143528
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/undobj.hxx | 3 | ||||
-rw-r--r-- | sw/inc/unoframe.hxx | 5 | ||||
-rw-r--r-- | sw/inc/unotbl.hxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/undobj.hxx b/sw/inc/undobj.hxx index ab3fb876302e..f95a3aa78bfc 100644 --- a/sw/inc/undobj.hxx +++ b/sw/inc/undobj.hxx @@ -257,13 +257,12 @@ class SwUndoInserts : public SwUndo, public SwUndRng, private SwUndoSaveContent std::vector< std::shared_ptr<SwUndoInsLayFormat> > m_FlyUndos; std::unique_ptr<SwRedlineData> m_pRedlineData; SwNodeOffset m_nDeleteTextNodes; - -protected: SwNodeOffset m_nNodeDiff; /// start of Content in UndoNodes for Redo std::optional<SwNodeIndex> m_oUndoNodeIndex; sal_uInt16 m_nSetPos; // Start in the history list. +protected: SwUndoInserts( SwUndoId nUndoId, const SwPaM& ); public: virtual ~SwUndoInserts() override; diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx index e1b1425f103c..e87cb87e0675 100644 --- a/sw/inc/unoframe.hxx +++ b/sw/inc/unoframe.hxx @@ -76,11 +76,12 @@ private: sal_Int64 m_nVisibleAreaWidth; sal_Int64 m_nVisibleAreaHeight; css::uno::Reference<css::text::XText> m_xParentText; + css::uno::Reference< css::beans::XPropertySet > mxStyleData; + css::uno::Reference< css::container::XNameAccess > mxStyleFamily; + void DisposeInternal(); protected: - css::uno::Reference< css::beans::XPropertySet > mxStyleData; - css::uno::Reference< css::container::XNameAccess > mxStyleFamily; virtual void Notify(const SfxHint&) override; virtual ~SwXFrame() override; diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index 178989fbaefc..fb02bfb9f9d1 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -194,6 +194,7 @@ class SW_DLLPUBLIC SwXTextTableCursor final { SwFrameFormat* m_pFrameFormat; const SfxItemPropertySet* m_pPropSet; + sw::UnoCursorPointer m_pUnoCursor; public: SwXTextTableCursor(SwFrameFormat* pFormat, SwTableBox const* pBox); @@ -237,7 +238,6 @@ public: const SwUnoCursor& GetCursor() const; SwUnoCursor& GetCursor(); - sw::UnoCursorPointer m_pUnoCursor; SwFrameFormat* GetFrameFormat() const { return m_pFrameFormat; } }; |