summaryrefslogtreecommitdiff
path: root/slideshow/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 10:42:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 09:39:55 +0000
commit41ea741cd843776cd600d33b28a7f0e35345e0d0 (patch)
tree9a4cc7717b190a99d0791c77205d4dd95c77691a /slideshow/source/inc
parent028cc38a164493c5049d152eae38a34218428fce (diff)
loplugin:unnecessaryvirtual in sfx2..svtools
Change-Id: Ib34e14806f7cc9a97ecfd68687ab17ee5c1f022b Reviewed-on: https://gerrit.libreoffice.org/30652 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/source/inc')
-rw-r--r--slideshow/source/inc/shapeattributelayer.hxx17
1 files changed, 2 insertions, 15 deletions
diff --git a/slideshow/source/inc/shapeattributelayer.hxx b/slideshow/source/inc/shapeattributelayer.hxx
index d52e8a9123a3..e8648b58ac3e 100644
--- a/slideshow/source/inc/shapeattributelayer.hxx
+++ b/slideshow/source/inc/shapeattributelayer.hxx
@@ -47,28 +47,15 @@ namespace slideshow
changes, clients can assume that the object's state has
changed.
*/
- class State
+ class State final
{
public:
- virtual ~State() {}
+ ~State() {}
/// Abstract, numerically encoded state ID
typedef ::std::size_t StateId;
-
- /** This method returns a numerical state identifier.
-
- The state ID returned by this method abstractly
- encodes the object's state. When this ID changes,
- clients can assume that the object's state has
- changed.
-
- @return an abstract, numerical state ID.
- */
- ;
};
- typedef ::std::shared_ptr< State > StateSharedPtr;
-
class ShapeAttributeLayer;
typedef ::std::shared_ptr< ShapeAttributeLayer > ShapeAttributeLayerSharedPtr;