diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-18 16:00:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-18 21:42:10 +0200 |
commit | 3d36ff1a1d94bcdb6facf12eec00a532b6640880 (patch) | |
tree | df0ecd92d5974ea9c4b6634df83cb3ef5d409f15 /sw/inc | |
parent | 67b5e875c65c5ed72a170a03d33992edd3802c75 (diff) |
loplugin:unusedfields
Change-Id: Ib574403a7f7f8b11c6263c9c19ec6b65c8374ddd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115753
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/calc.hxx | 1 | ||||
-rw-r--r-- | sw/inc/tox.hxx | 8 |
2 files changed, 3 insertions, 6 deletions
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx index 3b585da69fcb..7590680d72c5 100644 --- a/sw/inc/calc.hxx +++ b/sw/inc/calc.hxx @@ -201,7 +201,6 @@ class SwCalc sal_Int32 m_nCommandPos; SwDoc& m_rDoc; - SvtSysLocale m_aSysLocale; std::unique_ptr<LocaleDataWrapper> m_xLocaleDataWrapper; CharClass* m_pCharClass; diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx index 4555335e44ae..e16882e87afa 100644 --- a/sw/inc/tox.hxx +++ b/sw/inc/tox.hxx @@ -57,12 +57,10 @@ namespace sw { SwContentFrame*& m_rpContentFrame; const SwDoc& m_rDoc; const SwRootFrame& m_rLayout; - const bool m_isReadOnlyAvailable; - FindContentFrameHint(SwContentFrame*& rpContentFrame, const SwDoc& rDoc, const SwRootFrame& rLayout, const bool isReadOnlyAvailable) + FindContentFrameHint(SwContentFrame*& rpContentFrame, const SwDoc& rDoc, const SwRootFrame& rLayout) : m_rpContentFrame(rpContentFrame) , m_rDoc(rDoc) , m_rLayout(rLayout) - , m_isReadOnlyAvailable(isReadOnlyAvailable) {} }; struct CollectTextTOXMarksForLayoutHint final : SfxHint { @@ -188,10 +186,10 @@ public: SwDoc& GetDoc() const { return m_rDoc; } void CollectTextMarks(SwTOXMarks& rMarks) const { const_cast<SwTOXType*>(this)->GetNotifier().Broadcast(sw::CollectTextMarksHint(rMarks)); } - SwContentFrame* FindContentFrame(const SwDoc& rDoc, const SwRootFrame& rLayout, const bool isReadOnlyAvailable) const + SwContentFrame* FindContentFrame(const SwDoc& rDoc, const SwRootFrame& rLayout) const { SwContentFrame* pContentFrame = nullptr; - const_cast<SwTOXType*>(this)->GetNotifier().Broadcast(sw::FindContentFrameHint(pContentFrame, rDoc, rLayout, isReadOnlyAvailable)); + const_cast<SwTOXType*>(this)->GetNotifier().Broadcast(sw::FindContentFrameHint(pContentFrame, rDoc, rLayout)); return pContentFrame; } void CollectTextTOXMarksForLayout(std::vector<std::reference_wrapper<SwTextTOXMark>>& rMarks, const SwRootFrame* pLayout) const |