summaryrefslogtreecommitdiff
path: root/include/svx/sdr/contact
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-29 16:32:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-30 07:32:40 +0100
commitfa79e8df02a082cd4967bf7a1c61aa925dc7b101 (patch)
tree925752fb10602968d15f4057374ee8f305a7fbbc /include/svx/sdr/contact
parentf90d0de7b20b52c1910eb0ceac9d31f38a648613 (diff)
loplugin:finalclasses svx
Change-Id: If55e51b8627083ba3ece2b3270adb47668b25e9d Reviewed-on: https://gerrit.libreoffice.org/81705 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/sdr/contact')
-rw-r--r--include/svx/sdr/contact/viewcontactofpageobj.hxx3
-rw-r--r--include/svx/sdr/contact/viewobjectcontactofpageobj.hxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/include/svx/sdr/contact/viewcontactofpageobj.hxx b/include/svx/sdr/contact/viewcontactofpageobj.hxx
index 6750d8f5a4fa..bb87ae187007 100644
--- a/include/svx/sdr/contact/viewcontactofpageobj.hxx
+++ b/include/svx/sdr/contact/viewcontactofpageobj.hxx
@@ -28,9 +28,8 @@ class SdrPage;
namespace sdr { namespace contact {
-class SVX_DLLPUBLIC ViewContactOfPageObj : public ViewContactOfSdrObj
+class SVX_DLLPUBLIC ViewContactOfPageObj final : public ViewContactOfSdrObj
{
-protected:
// Create an Object-Specific ViewObjectContact, set ViewContact and
// ObjectContact. Always needs to return something.
virtual ViewObjectContact& CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) override;
diff --git a/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx b/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx
index ace62f1941c0..68559a1e2b8e 100644
--- a/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx
+++ b/include/svx/sdr/contact/viewobjectcontactofpageobj.hxx
@@ -29,13 +29,12 @@ namespace sdr { namespace contact {
class PagePrimitiveExtractor;
-class SVX_DLLPUBLIC ViewObjectContactOfPageObj : public ViewObjectContactOfSdrObj
+class SVX_DLLPUBLIC ViewObjectContactOfPageObj final : public ViewObjectContactOfSdrObj
{
private:
// the page painter helper
std::unique_ptr<PagePrimitiveExtractor> mpExtractor;
-protected:
// This method is responsible for creating the graphical visualisation data which is
// stored/cached in the local primitive.
// This method will not handle included hierarchies and not check geometric visibility.