diff options
Diffstat (limited to 'svx/inc/sdr')
-rw-r--r-- | svx/inc/sdr/contact/viewcontactofsdrpage.hxx | 5 | ||||
-rw-r--r-- | svx/inc/sdr/contact/viewcontactofunocontrol.hxx | 6 | ||||
-rw-r--r-- | svx/inc/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx | 3 |
3 files changed, 5 insertions, 9 deletions
diff --git a/svx/inc/sdr/contact/viewcontactofsdrpage.hxx b/svx/inc/sdr/contact/viewcontactofsdrpage.hxx index 4168d1aa718a..59e49b5f2a62 100644 --- a/svx/inc/sdr/contact/viewcontactofsdrpage.hxx +++ b/svx/inc/sdr/contact/viewcontactofsdrpage.hxx @@ -149,7 +149,7 @@ public: bool getFront() const { return mbFront; } }; -class ViewContactOfSdrPage : public ViewContact +class ViewContactOfSdrPage final : public ViewContact { // the owner of this ViewContact. Set from constructor and not // to be changed in any way. @@ -168,7 +168,6 @@ class ViewContactOfSdrPage : public ViewContact ViewContactOfGrid maViewContactOfGridFront; ViewContactOfHelplines maViewContactOfHelplinesFront; -protected: // Create an Object-Specific ViewObjectContact, set ViewContact and // ObjectContact. Always needs to return something. Default is to create // a standard ViewObjectContact containing the given ObjectContact and *this @@ -192,7 +191,7 @@ public: // React on changes of the object of this ViewContact virtual void ActionChanged() override; -protected: +private: // This method is responsible for creating the graphical visualisation data // ONLY based on model data virtual drawinglayer::primitive2d::Primitive2DContainer createViewIndependentPrimitive2DSequence() const override; diff --git a/svx/inc/sdr/contact/viewcontactofunocontrol.hxx b/svx/inc/sdr/contact/viewcontactofunocontrol.hxx index 824051543250..8d16362aa092 100644 --- a/svx/inc/sdr/contact/viewcontactofunocontrol.hxx +++ b/svx/inc/sdr/contact/viewcontactofunocontrol.hxx @@ -39,7 +39,7 @@ namespace sdr::contact { //= ViewContactOfUnoControl - class ViewContactOfUnoControl : public ViewContactOfSdrObj + class ViewContactOfUnoControl final : public ViewContactOfSdrObj { public: // access to SdrObject @@ -57,14 +57,12 @@ namespace sdr::contact { css::uno::Reference< css::awt::XControl > getTemporaryControlForWindow( const vcl::Window& _rWindow, css::uno::Reference< css::awt::XControlContainer >& _inout_ControlContainer ) const; - protected: + private: virtual ViewObjectContact& CreateObjectSpecificViewObjectContact( ObjectContact& _rObjectContact ) override; - private: ViewContactOfUnoControl( const ViewContactOfUnoControl& ) = delete; ViewContactOfUnoControl& operator=( const ViewContactOfUnoControl& ) = delete; - protected: // This method is responsible for creating the graphical visualisation data // ONLY based on model data virtual drawinglayer::primitive2d::Primitive2DContainer createViewIndependentPrimitive2DSequence() const override; diff --git a/svx/inc/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx b/svx/inc/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx index 7b837e1bf6d6..e84ef0a4d3e8 100644 --- a/svx/inc/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx +++ b/svx/inc/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx @@ -30,7 +30,7 @@ namespace drawinglayer::primitive2d { - class SdrCustomShapePrimitive2D : public BufferedDecompositionPrimitive2D + class SdrCustomShapePrimitive2D final : public BufferedDecompositionPrimitive2D { private: attribute::SdrEffectsTextAttribute maSdrSTAttribute; @@ -47,7 +47,6 @@ namespace drawinglayer::primitive2d basegfx::B2DHomMatrix maTransform; - protected: // local decomposition. virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override; |