summaryrefslogtreecommitdiff
path: root/include/sfx2/templatedefaultview.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-24 11:03:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-24 13:41:17 +0200
commitb4c890cb65745d05f92e451bb675fc0b2c5e31dc (patch)
treee8e772bb3e7f124f6602c43289be117df662d7ea /include/sfx2/templatedefaultview.hxx
parent49b338b76020682328acbb76cacf82b7699d8891 (diff)
loplugin:finalclasses in sfx2..svl
Change-Id: I71b78135b3d0259657438c4401340bb35ab5c6e0 Reviewed-on: https://gerrit.libreoffice.org/43742 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/templatedefaultview.hxx')
-rw-r--r--include/sfx2/templatedefaultview.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sfx2/templatedefaultview.hxx b/include/sfx2/templatedefaultview.hxx
index b35ac2f349f1..15bec26fa38a 100644
--- a/include/sfx2/templatedefaultview.hxx
+++ b/include/sfx2/templatedefaultview.hxx
@@ -12,7 +12,7 @@
#include <sfx2/templatelocalview.hxx>
-class SFX2_DLLPUBLIC TemplateDefaultView : public TemplateLocalView
+class SFX2_DLLPUBLIC TemplateDefaultView final : public TemplateLocalView
{
public:
TemplateDefaultView(Window *pParent);
@@ -28,7 +28,8 @@ public:
void createContextMenu();
DECL_LINK(ContextMenuSelectHdl, Menu*, void);
-protected:
+
+private:
long mnItemMaxSize;
long mnTextHeight;
};