diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-17 11:44:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-17 14:51:23 +0100 |
commit | 2cbf83e20889351e2d2a6e29e5c7d9250af58647 (patch) | |
tree | 9cea9bf90ff8bfcf79e7d2b827fdea9bdfdf8ad1 /sw | |
parent | 51648c8de8dc060abc8dff1af105acfccadab77d (diff) |
loplugin:unusedmethods
Change-Id: I58c60262ca543bafb4db4433dbb98b195f7571ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130063
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/crsr/bookmark.cxx | 8 | ||||
-rw-r--r-- | sw/source/core/inc/bookmark.hxx | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/sw/source/core/crsr/bookmark.cxx b/sw/source/core/crsr/bookmark.cxx index 417558aad130..a33cb1c1eab0 100644 --- a/sw/source/core/crsr/bookmark.cxx +++ b/sw/source/core/crsr/bookmark.cxx @@ -513,14 +513,6 @@ namespace sw::mark return SetOtherMarkPos( rNewStartPos ); } - void Fieldmark::SetMarkEndPos( const SwPosition& rNewEndPos ) - { - if ( GetMarkPos( ) <= GetOtherMarkPos( ) ) - return SetOtherMarkPos( rNewEndPos ); - else - return SetMarkPos( rNewEndPos ); - } - OUString Fieldmark::ToString( ) const { return "Fieldmark: ( Name, Type, [ Nd1, Id1 ], [ Nd2, Id2 ] ): ( " + m_aName + ", " diff --git a/sw/source/core/inc/bookmark.hxx b/sw/source/core/inc/bookmark.hxx index f352eebadf77..2c5cfacfcd28 100644 --- a/sw/source/core/inc/bookmark.hxx +++ b/sw/source/core/inc/bookmark.hxx @@ -222,7 +222,6 @@ namespace sw::mark { virtual void ReleaseDoc(SwDoc&) = 0; void SetMarkStartPos( const SwPosition& rNewStartPos ); - void SetMarkEndPos( const SwPosition& rNewEndPos ); virtual void Invalidate() override; virtual OUString ToString() const override; |