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/inc/charformats.hxx | |
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/inc/charformats.hxx')
-rw-r--r-- | sw/inc/charformats.hxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/inc/charformats.hxx b/sw/inc/charformats.hxx index f72958298ea8..5d0be8eaf4ab 100644 --- a/sw/inc/charformats.hxx +++ b/sw/inc/charformats.hxx @@ -84,8 +84,6 @@ public: // search for formats by name ByName::const_iterator findByName(const OUString& name) const; - // So we can actually check for end() - ByName::const_iterator byNameEnd() const { return m_NameIndex.end(); } SwCharFormat* operator[](size_t index_) const { return m_PosIndex.operator[](index_); } const_iterator begin() const { return m_PosIndex.begin(); } @@ -99,8 +97,6 @@ public: /// fast check if given format is contained here /// @precond pFormat must not have been deleted bool ContainsFormat(SwCharFormat* pFormat) const; - /// not so fast check that given format is still alive (i.e. contained here) - bool IsAlive(SwCharFormat const*) const; void DeleteAndDestroyAll(bool keepDefault = false); |