diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-12 16:40:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-12 21:08:45 +0200 |
commit | 6db32d598532fb0c43825fe61119d4d00f2ceb41 (patch) | |
tree | 7778f4dd8dfe7b3116d9c8d45cba20e811d0eb63 /sw/source | |
parent | 7e5c9220ef5d51ac23e618c5c9eeda9cf4339c88 (diff) |
loplugin:unusedmethods
Change-Id: I1e17e43bfe4a18034e9c0ff483097fe6ca0e777a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118782
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/doc/docfmt.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/txtnode/chrfmt.cxx | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx index 7f07cf62e99c..f643d9750b90 100644 --- a/sw/source/core/doc/docfmt.cxx +++ b/sw/source/core/doc/docfmt.cxx @@ -2079,12 +2079,6 @@ SwFrameFormats::findByTypeAndName( sal_uInt16 type, const OUString& name ) const return m_TypeAndNameIndex.find( boost::make_tuple(name, type) ); } -SwFrameFormats::ByTypeAndName::const_iterator -SwFrameFormats::findSimilar( const value_type& x ) const -{ - return findByTypeAndName( x->Which(), x->GetName() ); -} - std::pair<SwFrameFormats::ByTypeAndName::const_iterator, SwFrameFormats::ByTypeAndName::const_iterator> SwFrameFormats::findRangeByName( const OUString& rName ) const { diff --git a/sw/source/core/txtnode/chrfmt.cxx b/sw/source/core/txtnode/chrfmt.cxx index 3ee46ee3e8e8..fc434e953d54 100644 --- a/sw/source/core/txtnode/chrfmt.cxx +++ b/sw/source/core/txtnode/chrfmt.cxx @@ -97,8 +97,6 @@ void SwCharFormats::erase(const_iterator const& position) { m_PosIndex.erase(pos bool SwCharFormats::ContainsFormat(SwCharFormat* x) const { return find(x) != end(); } -bool SwCharFormats::IsAlive(SwCharFormat const* const p) const { return find(p) != end(); } - /** Need to call this when the format name changes */ void SwCharFormats::SetFormatNameAndReindex(SwCharFormat* v, const OUString& sNewName) { |