summaryrefslogtreecommitdiff
path: root/include/svx/svdpage.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-23 13:07:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-24 07:59:06 +0200
commitac45764b05385a51d469fda2e4bf9233904ca5a9 (patch)
tree94605a61e6933b3e8f1d0073b790645f04a51d5e /include/svx/svdpage.hxx
parentfe22bdc3b537afa8ebcb5cb057542b762c770722 (diff)
loplugin:finalclasses in svx
Change-Id: I74296e2185902498cd569ecde83905f718a41e84 Reviewed-on: https://gerrit.libreoffice.org/43715 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/svdpage.hxx')
-rw-r--r--include/svx/svdpage.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/svx/svdpage.hxx b/include/svx/svdpage.hxx
index 54b8a6ede4d9..060274eaa683 100644
--- a/include/svx/svdpage.hxx
+++ b/include/svx/svdpage.hxx
@@ -287,13 +287,14 @@ public:
const tools::Rectangle& GetUserArea() const { return aUserArea; }
};
-class SVX_DLLPUBLIC SdrPageGridFrameList {
+class SVX_DLLPUBLIC SdrPageGridFrameList final
+{
std::vector<SdrPageGridFrame*> aList;
-private:
+
SdrPageGridFrameList(const SdrPageGridFrameList& rSrcList) = delete;
void operator=(const SdrPageGridFrameList& rSrcList) = delete;
-protected:
SdrPageGridFrame* GetObject(sal_uInt16 i) const { return aList[i]; }
+
public:
SdrPageGridFrameList(): aList() {}
~SdrPageGridFrameList() { Clear(); }