summaryrefslogtreecommitdiff
path: root/sw/inc/swcrsr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 10:17:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 12:06:35 +0000
commitd4f78fa3b61a54dca64504bd76990baf20e2313f (patch)
tree9b05eb19f939a694dc3b9db3efa31dc1d5735abb /sw/inc/swcrsr.hxx
parentb7914a9a566413eac55c7e115da1cb3552cd58df (diff)
loplugin:unnecessaryvirtual in svx..sw
Change-Id: I4ae8de558550e6577c28b95e0aaed74f00d79c29 Reviewed-on: https://gerrit.libreoffice.org/30650 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/swcrsr.hxx')
-rw-r--r--sw/inc/swcrsr.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx
index b2d03e0b62a0..0f9ab9fb3f7a 100644
--- a/sw/inc/swcrsr.hxx
+++ b/sw/inc/swcrsr.hxx
@@ -239,7 +239,7 @@ public:
};
// internal, used by SwCursor::SaveState() etc.
-struct SwCursor_SavePos
+struct SwCursor_SavePos final
{
sal_uLong nNode;
sal_Int32 nContent;
@@ -250,7 +250,7 @@ struct SwCursor_SavePos
nContent( rCursor.GetPoint()->nContent.GetIndex() ),
pNext( nullptr )
{}
- virtual ~SwCursor_SavePos() {}
+ ~SwCursor_SavePos() {}
DECL_FIXEDMEMPOOL_NEWDEL( SwCursor_SavePos )
};