diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 13:09:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 13:19:22 +0200 |
commit | 91dd2db17bd6cb9b357d1d69b187174e31eabef0 (patch) | |
tree | d634de3a1a6820904b5699c2136b79b1a5a807c7 /svx | |
parent | 6f8ea7e89ea190b9462c945d55a3ad8777b2f3ef (diff) |
loplugin:override: No more need for the "MSVC dtor override" workaround
The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark
overriding destructors as 'virtual'" appears to no longer be a problem with
MSVC 2013.
(The little change in the rewriting code of compilerplugins/clang/override.cxx
was necessary to prevent an endless loop when adding "override" to
OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager();
in chart2/source/inc/LifeTime.hxx, getting stuck in the leading
OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that
isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.)
Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
Diffstat (limited to 'svx')
179 files changed, 297 insertions, 297 deletions
diff --git a/svx/inc/AccessibleSvxFindReplaceDialog.hxx b/svx/inc/AccessibleSvxFindReplaceDialog.hxx index 7fc36e5b246d..90b56399102b 100644 --- a/svx/inc/AccessibleSvxFindReplaceDialog.hxx +++ b/svx/inc/AccessibleSvxFindReplaceDialog.hxx @@ -28,7 +28,7 @@ class VCLXAccessibleSvxFindReplaceDialog : public VCLXAccessibleComponent { public: VCLXAccessibleSvxFindReplaceDialog(VCLXWindow* pVCLXindow); - virtual ~VCLXAccessibleSvxFindReplaceDialog(); + virtual ~VCLXAccessibleSvxFindReplaceDialog() override; virtual void FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet ) override; // XServiceInfo virtual ::rtl::OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override; @@ -44,7 +44,7 @@ public: { SetWindow(pSplDlg); } - virtual ~VCLXSvxFindReplaceDialog() + virtual ~VCLXSvxFindReplaceDialog() override {}; private: virtual css::uno::Reference< css::accessibility::XAccessibleContext > CreateAccessibleContext() override diff --git a/svx/inc/AccessibleTableShape.hxx b/svx/inc/AccessibleTableShape.hxx index 5ed067faf01d..5b4dec8b1ac7 100644 --- a/svx/inc/AccessibleTableShape.hxx +++ b/svx/inc/AccessibleTableShape.hxx @@ -53,7 +53,7 @@ class AccessibleTableShape : public AccessibleTableShape_Base, public css::acces { public: AccessibleTableShape( const AccessibleShapeInfo& rShapeInfo, const AccessibleShapeTreeInfo& rShapeTreeInfo ); - virtual ~AccessibleTableShape( ); + virtual ~AccessibleTableShape( ) override; AccessibleTableShape(const AccessibleTableShape&) = delete; AccessibleTableShape& operator=(const AccessibleTableShape&) = delete; @@ -165,7 +165,7 @@ class AccessibleTableHeaderShape : public MutexOwner, public: // bRow, true means rowheader, false means columnheader AccessibleTableHeaderShape( AccessibleTableShape* pTable, bool bRow ); - virtual ~AccessibleTableHeaderShape(); + virtual ~AccessibleTableHeaderShape() override; AccessibleTableHeaderShape(const AccessibleTableHeaderShape&) = delete; AccessibleTableHeaderShape& operator=(const AccessibleTableHeaderShape&) = delete; diff --git a/svx/inc/GalleryControl.hxx b/svx/inc/GalleryControl.hxx index db467e547a2d..87d8c246b25f 100644 --- a/svx/inc/GalleryControl.hxx +++ b/svx/inc/GalleryControl.hxx @@ -62,7 +62,7 @@ private: protected: void ThemeSelectionHasChanged(); - virtual ~GalleryControl(); + virtual ~GalleryControl() override; virtual void dispose() override; }; diff --git a/svx/inc/extrusiondepthdialog.hxx b/svx/inc/extrusiondepthdialog.hxx index b09b63d091e2..69d03b5a0766 100644 --- a/svx/inc/extrusiondepthdialog.hxx +++ b/svx/inc/extrusiondepthdialog.hxx @@ -35,7 +35,7 @@ class ExtrusionDepthDialog : public ModalDialog public: ExtrusionDepthDialog( vcl::Window* pParent, double fDepth, FieldUnit eDefaultUnit ); - virtual ~ExtrusionDepthDialog(); + virtual ~ExtrusionDepthDialog() override; virtual void dispose() override; double getDepth() const; diff --git a/svx/inc/galbrws2.hxx b/svx/inc/galbrws2.hxx index a042ff7f7d3f..13f6b068e66a 100644 --- a/svx/inc/galbrws2.hxx +++ b/svx/inc/galbrws2.hxx @@ -142,7 +142,7 @@ public: public: GalleryBrowser2(vcl::Window* pParent, Gallery* pGallery); - virtual ~GalleryBrowser2(); + virtual ~GalleryBrowser2() override; virtual void dispose() override; void SelectTheme( const OUString& rThemeName ); diff --git a/svx/inc/galobj.hxx b/svx/inc/galobj.hxx index aba1d0ee6e61..8bb4caa3ee74 100644 --- a/svx/inc/galobj.hxx +++ b/svx/inc/galobj.hxx @@ -98,7 +98,7 @@ public: SgaObjectSound(); SgaObjectSound( const INetURLObject& rURL ); - virtual ~SgaObjectSound(); + virtual ~SgaObjectSound() override; virtual SgaObjKind GetObjKind() const override { return SgaObjKind::Sound; } virtual BitmapEx GetThumbBmp() const override; @@ -124,7 +124,7 @@ public: SgaObjectSvDraw(); SgaObjectSvDraw( const FmFormModel& rModel, const INetURLObject& rURL ); SgaObjectSvDraw( SvStream& rIStm, const INetURLObject& rURL ); - virtual ~SgaObjectSvDraw() {}; + virtual ~SgaObjectSvDraw() override {}; virtual SgaObjKind GetObjKind() const override { return SgaObjKind::SvDraw; } }; @@ -145,7 +145,7 @@ public: SgaObjectBmp(); SgaObjectBmp( const INetURLObject& rURL ); SgaObjectBmp( const Graphic& rGraphic, const INetURLObject& rURL, const OUString& rFormat ); - virtual ~SgaObjectBmp() {}; + virtual ~SgaObjectBmp() override {}; virtual SgaObjKind GetObjKind() const override { return SgaObjKind::Bitmap; } }; @@ -157,7 +157,7 @@ public: SgaObjectAnim(); SgaObjectAnim( const Graphic& rGraphic, const INetURLObject& rURL, const OUString& rFormatName ); - virtual ~SgaObjectAnim() {}; + virtual ~SgaObjectAnim() override {}; virtual SgaObjKind GetObjKind() const override { return SgaObjKind::Animation; } }; @@ -169,7 +169,7 @@ public: SgaObjectINet(); SgaObjectINet( const Graphic& rGraphic, const INetURLObject& rURL, const OUString& rFormatName ); - virtual ~SgaObjectINet() {}; + virtual ~SgaObjectINet() override {}; virtual SgaObjKind GetObjKind() const override { return SgaObjKind::Inet; } }; diff --git a/svx/inc/sdr/contact/objectcontactofpageview.hxx b/svx/inc/sdr/contact/objectcontactofpageview.hxx index 9de11ad95123..283b7990fcf1 100644 --- a/svx/inc/sdr/contact/objectcontactofpageview.hxx +++ b/svx/inc/sdr/contact/objectcontactofpageview.hxx @@ -49,7 +49,7 @@ namespace sdr // basic constructor, used from SdrPageView. explicit ObjectContactOfPageView(SdrPageWindow& rPageWindow); - virtual ~ObjectContactOfPageView(); + virtual ~ObjectContactOfPageView() override; // LazyInvalidate request. This is used from the VOCs to mark that they // got invalidated by an ActionChanged() call. An active view needs to remember diff --git a/svx/inc/sdr/contact/viewcontactofe3dcube.hxx b/svx/inc/sdr/contact/viewcontactofe3dcube.hxx index 137f6c90d78f..02e28560221d 100644 --- a/svx/inc/sdr/contact/viewcontactofe3dcube.hxx +++ b/svx/inc/sdr/contact/viewcontactofe3dcube.hxx @@ -32,7 +32,7 @@ namespace sdr public: // basic constructor, used from SdrObject. ViewContactOfE3dCube(E3dCubeObj& rCubeObj); - virtual ~ViewContactOfE3dCube(); + virtual ~ViewContactOfE3dCube() override; // access to SdrObject const E3dCubeObj& GetE3dCubeObj() const diff --git a/svx/inc/sdr/contact/viewcontactofe3dextrude.hxx b/svx/inc/sdr/contact/viewcontactofe3dextrude.hxx index 1f4c977d41de..a3c92b29d0c0 100644 --- a/svx/inc/sdr/contact/viewcontactofe3dextrude.hxx +++ b/svx/inc/sdr/contact/viewcontactofe3dextrude.hxx @@ -33,7 +33,7 @@ namespace sdr public: // basic constructor, used from SdrObject. explicit ViewContactOfE3dExtrude(E3dExtrudeObj& rExtrude); - virtual ~ViewContactOfE3dExtrude(); + virtual ~ViewContactOfE3dExtrude() override; // access to SdrObject const E3dExtrudeObj& GetE3dExtrudeObj() const diff --git a/svx/inc/sdr/contact/viewcontactofe3dlathe.hxx b/svx/inc/sdr/contact/viewcontactofe3dlathe.hxx index aaf3e3f82d5d..fa8c3e2acd38 100644 --- a/svx/inc/sdr/contact/viewcontactofe3dlathe.hxx +++ b/svx/inc/sdr/contact/viewcontactofe3dlathe.hxx @@ -33,7 +33,7 @@ namespace sdr public: // basic constructor, used from SdrObject. explicit ViewContactOfE3dLathe(E3dLatheObj& rLathe); - virtual ~ViewContactOfE3dLathe(); + virtual ~ViewContactOfE3dLathe() override; // access to SdrObject const E3dLatheObj& GetE3dLatheObj() const diff --git a/svx/inc/sdr/contact/viewcontactofe3dpolygon.hxx b/svx/inc/sdr/contact/viewcontactofe3dpolygon.hxx index a8343edc4646..3458db1becc0 100644 --- a/svx/inc/sdr/contact/viewcontactofe3dpolygon.hxx +++ b/svx/inc/sdr/contact/viewcontactofe3dpolygon.hxx @@ -32,7 +32,7 @@ namespace sdr public: // basic constructor, used from SdrObject. explicit ViewContactOfE3dPolygon(E3dPolygonObj& rPolygon); - virtual ~ViewContactOfE3dPolygon(); + virtual ~ViewContactOfE3dPolygon() override; // access to SdrObject const E3dPolygonObj& GetE3dPolygonObj() const diff --git a/svx/inc/sdr/contact/viewcontactofe3dsphere.hxx b/svx/inc/sdr/contact/viewcontactofe3dsphere.hxx index 490e0ec937cf..2b71810ac7a7 100644 --- a/svx/inc/sdr/contact/viewcontactofe3dsphere.hxx +++ b/svx/inc/sdr/contact/viewcontactofe3dsphere.hxx @@ -33,7 +33,7 @@ namespace sdr public: // basic constructor, used from SdrObject. explicit ViewContactOfE3dSphere(E3dSphereObj& rSphere); - virtual ~ViewContactOfE3dSphere(); + virtual ~ViewContactOfE3dSphere() override; // access to SdrObject const E3dSphereObj& GetE3dSphereObj() const diff --git a/svx/inc/sdr/contact/viewcontactofgraphic.hxx b/svx/inc/sdr/contact/viewcontactofgraphic.hxx index cd0cff073504..a64d392cdcdf 100644 --- a/svx/inc/sdr/contact/viewcontactofgraphic.hxx +++ b/svx/inc/sdr/contact/viewcontactofgraphic.hxx @@ -60,7 +60,7 @@ namespace sdr // basic constructor, destructor explicit ViewContactOfGraphic(SdrGrafObj& rGrafObj); - virtual ~ViewContactOfGraphic(); + virtual ~ViewContactOfGraphic() override; // #i102380# void flushGraphicObjects(); diff --git a/svx/inc/sdr/contact/viewcontactofgroup.hxx b/svx/inc/sdr/contact/viewcontactofgroup.hxx index d0678818b97d..48c113dbaf20 100644 --- a/svx/inc/sdr/contact/viewcontactofgroup.hxx +++ b/svx/inc/sdr/contact/viewcontactofgroup.hxx @@ -45,7 +45,7 @@ namespace sdr public: // basic constructor, used from SdrObject. explicit ViewContactOfGroup(SdrObjGroup& rGroup); - virtual ~ViewContactOfGroup(); + virtual ~ViewContactOfGroup() override; protected: // This method is responsible for creating the graphical visualisation data diff --git a/svx/inc/sdr/contact/viewcontactofmasterpagedescriptor.hxx b/svx/inc/sdr/contact/viewcontactofmasterpagedescriptor.hxx index 1639472ec6fb..fec21ed720d6 100644 --- a/svx/inc/sdr/contact/viewcontactofmasterpagedescriptor.hxx +++ b/svx/inc/sdr/contact/viewcontactofmasterpagedescriptor.hxx @@ -50,7 +50,7 @@ namespace sdr explicit ViewContactOfMasterPageDescriptor(sdr::MasterPageDescriptor& rDescriptor); // The destructor. - virtual ~ViewContactOfMasterPageDescriptor(); + virtual ~ViewContactOfMasterPageDescriptor() override; // access to MasterPageDescriptor sdr::MasterPageDescriptor& GetMasterPageDescriptor() const diff --git a/svx/inc/sdr/contact/viewcontactofsdrcaptionobj.hxx b/svx/inc/sdr/contact/viewcontactofsdrcaptionobj.hxx index 97e53f4f7a4c..ddd6c6793efe 100644 --- a/svx/inc/sdr/contact/viewcontactofsdrcaptionobj.hxx +++ b/svx/inc/sdr/contact/viewcontactofsdrcaptionobj.hxx @@ -40,7 +40,7 @@ namespace sdr public: // basic constructor, used from SdrObject. explicit ViewContactOfSdrCaptionObj(SdrCaptionObj& rCaptionObj); - virtual ~ViewContactOfSdrCaptionObj(); + virtual ~ViewContactOfSdrCaptionObj() override; protected: // This method is responsible for creating the graphical visualisation data diff --git a/svx/inc/sdr/contact/viewcontactofsdrcircobj.hxx b/svx/inc/sdr/contact/viewcontactofsdrcircobj.hxx index ce614da05bee..d48ba3b172bb 100644 --- a/svx/inc/sdr/contact/viewcontactofsdrcircobj.hxx +++ b/svx/inc/sdr/contact/viewcontactofsdrcircobj.hxx @@ -40,7 +40,7 @@ namespace sdr public: // basic constructor, used from SdrObject. explicit ViewContactOfSdrCircObj(SdrCircObj& rCircObj); - virtual ~ViewContactOfSdrCircObj(); + virtual ~ViewContactOfSdrCircObj() override; protected: // This method is responsible for creating the graphical visualisation data diff --git a/svx/inc/sdr/contact/viewcontactofsdredgeobj.hxx b/svx/inc/sdr/contact/viewcontactofsdredgeobj.hxx index 59768a62744c..89b72ef1f3b6 100644 --- a/svx/inc/sdr/contact/viewcontactofsdredgeobj.hxx +++ b/svx/inc/sdr/contact/viewcontactofsdredgeobj.hxx @@ -40,7 +40,7 @@ namespace sdr public: // basic constructor, used from SdrObject. explicit ViewContactOfSdrEdgeObj(SdrEdgeObj& rEdgeObj); - virtual ~ViewContactOfSdrEdgeObj(); + virtual ~ViewContactOfSdrEdgeObj() override; protected: // This method is responsible for creating the graphical visualisation data diff --git a/svx/inc/sdr/contact/viewcontactofsdrmeasureobj.hxx b/svx/inc/sdr/contact/viewcontactofsdrmeasureobj.hxx index 9373585a4c5b..2b5dd31c2eac 100644 --- a/svx/inc/sdr/contact/viewcontactofsdrmeasureobj.hxx +++ b/svx/inc/sdr/contact/viewcontactofsdrmeasureobj.hxx @@ -40,7 +40,7 @@ namespace sdr public: // basic constructor, used from SdrObject. explicit ViewContactOfSdrMeasureObj(SdrMeasureObj& rMeasureObj); - virtual ~ViewContactOfSdrMeasureObj(); + virtual ~ViewContactOfSdrMeasureObj() override; protected: // This method is responsible for creating the graphical visualisation data diff --git a/svx/inc/sdr/contact/viewcontactofsdrobjcustomshape.hxx b/svx/inc/sdr/contact/viewcontactofsdrobjcustomshape.hxx index 9f93f2c6906a..35d9db98b340 100644 --- a/svx/inc/sdr/contact/viewcontactofsdrobjcustomshape.hxx +++ b/svx/inc/sdr/contact/viewcontactofsdrobjcustomshape.hxx @@ -43,7 +43,7 @@ namespace sdr public: // basic constructor, used from SdrObject. explicit ViewContactOfSdrObjCustomShape(SdrObjCustomShape& rCustomShape); - virtual ~ViewContactOfSdrObjCustomShape(); + virtual ~ViewContactOfSdrObjCustomShape() override; protected: // This method is responsible for creating the graphical visualisation data diff --git a/svx/inc/sdr/contact/viewcontactofsdrole2obj.hxx b/svx/inc/sdr/contact/viewcontactofsdrole2obj.hxx index d4222faac3a8..8d94c6115aa6 100644 --- a/svx/inc/sdr/contact/viewcontactofsdrole2obj.hxx +++ b/svx/inc/sdr/contact/viewcontactofsdrole2obj.hxx @@ -51,7 +51,7 @@ public: // basic constructor, used from SdrObject. explicit ViewContactOfSdrOle2Obj(SdrOle2Obj& rOle2Obj); - virtual ~ViewContactOfSdrOle2Obj(); + virtual ~ViewContactOfSdrOle2Obj() override; // helper for creating a OLE sequence for this object. It takes care od attributes, needed // scaling (e.g. for EmptyPresObj's), the correct graphic and other stuff. It is used from diff --git a/svx/inc/sdr/contact/viewcontactofsdrpage.hxx b/svx/inc/sdr/contact/viewcontactofsdrpage.hxx index 9ff6cfa65828..2342b78aae84 100644 --- a/svx/inc/sdr/contact/viewcontactofsdrpage.hxx +++ b/svx/inc/sdr/contact/viewcontactofsdrpage.hxx @@ -36,7 +36,7 @@ protected: public: explicit ViewContactOfPageSubObject(ViewContactOfSdrPage& rParentViewContactOfSdrPage); - virtual ~ViewContactOfPageSubObject(); + virtual ~ViewContactOfPageSubObject() override; virtual ViewContact* GetParentContact() const override; const SdrPage& getPage() const; @@ -50,7 +50,7 @@ protected: public: explicit ViewContactOfPageBackground(ViewContactOfSdrPage& rParentViewContactOfSdrPage); - virtual ~ViewContactOfPageBackground(); + virtual ~ViewContactOfPageBackground() override; }; class ViewContactOfPageShadow : public ViewContactOfPageSubObject @@ -61,7 +61,7 @@ protected: public: explicit ViewContactOfPageShadow(ViewContactOfSdrPage& rParentViewContactOfSdrPage); - virtual ~ViewContactOfPageShadow(); + virtual ~ViewContactOfPageShadow() override; }; class ViewContactOfPageFill : public ViewContactOfPageSubObject @@ -72,7 +72,7 @@ protected: public: explicit ViewContactOfPageFill(ViewContactOfSdrPage& rParentViewContactOfSdrPage); - virtual ~ViewContactOfPageFill(); + virtual ~ViewContactOfPageFill() override; }; class ViewContactOfMasterPage : public ViewContactOfPageSubObject @@ -83,7 +83,7 @@ protected: public: explicit ViewContactOfMasterPage(ViewContactOfSdrPage& rParentViewContactOfSdrPage); - virtual ~ViewContactOfMasterPage(); + virtual ~ViewContactOfMasterPage() override; }; class ViewContactOfOuterPageBorder : public ViewContactOfPageSubObject @@ -94,7 +94,7 @@ protected: public: explicit ViewContactOfOuterPageBorder(ViewContactOfSdrPage& rParentViewContactOfSdrPage); - virtual ~ViewContactOfOuterPageBorder(); + virtual ~ViewContactOfOuterPageBorder() override; }; class ViewContactOfInnerPageBorder : public ViewContactOfPageSubObject @@ -105,7 +105,7 @@ protected: public: explicit ViewContactOfInnerPageBorder(ViewContactOfSdrPage& rParentViewContactOfSdrPage); - virtual ~ViewContactOfInnerPageBorder(); + virtual ~ViewContactOfInnerPageBorder() override; }; /** @@ -123,7 +123,7 @@ protected: public: explicit ViewContactOfPageHierarchy(ViewContactOfSdrPage& rParentViewContactOfSdrPage); - virtual ~ViewContactOfPageHierarchy(); + virtual ~ViewContactOfPageHierarchy() override; virtual sal_uInt32 GetObjectCount() const override; virtual ViewContact& GetViewContact(sal_uInt32 nIndex) const override; @@ -139,7 +139,7 @@ protected: public: ViewContactOfGrid(ViewContactOfSdrPage& rParentViewContactOfSdrPage, bool bFront); - virtual ~ViewContactOfGrid(); + virtual ~ViewContactOfGrid() override; bool getFront() const { return mbFront; } }; @@ -154,7 +154,7 @@ protected: public: ViewContactOfHelplines(ViewContactOfSdrPage& rParentViewContactOfSdrPage, bool bFront); - virtual ~ViewContactOfHelplines(); + virtual ~ViewContactOfHelplines() override; bool getFront() const { return mbFront; } }; @@ -193,7 +193,7 @@ public: // basic constructor, used from SdrPage. explicit ViewContactOfSdrPage(SdrPage& rObj); - virtual ~ViewContactOfSdrPage(); + virtual ~ViewContactOfSdrPage() override; // Access to possible sub-hierarchy virtual sal_uInt32 GetObjectCount() const override; diff --git a/svx/inc/sdr/contact/viewcontactofsdrpathobj.hxx b/svx/inc/sdr/contact/viewcontactofsdrpathobj.hxx index 35f8e6862e85..bda545795f76 100644 --- a/svx/inc/sdr/contact/viewcontactofsdrpathobj.hxx +++ b/svx/inc/sdr/contact/viewcontactofsdrpathobj.hxx @@ -40,7 +40,7 @@ namespace sdr public: // basic constructor, used from SdrObject. explicit ViewContactOfSdrPathObj(SdrPathObj& rTextObj); - virtual ~ViewContactOfSdrPathObj(); + virtual ~ViewContactOfSdrPathObj() override; protected: // This method is responsible for creating the graphical visualisation data diff --git a/svx/inc/sdr/contact/viewcontactofunocontrol.hxx b/svx/inc/sdr/contact/viewcontactofunocontrol.hxx index 19a5b2aeaa5f..424481e67b86 100644 --- a/svx/inc/sdr/contact/viewcontactofunocontrol.hxx +++ b/svx/inc/sdr/contact/viewcontactofunocontrol.hxx @@ -52,7 +52,7 @@ namespace sdr { namespace contact { } explicit ViewContactOfUnoControl( SdrUnoObj& _rUnoObject ); - virtual ~ViewContactOfUnoControl(); + virtual ~ViewContactOfUnoControl() override; /** retrieves a temporary XControl instance, whose parent is the given window @seealso SdrUnoObj::GetTemporaryControlForWindow diff --git a/svx/inc/sdr/contact/viewobjectcontactofe3d.hxx b/svx/inc/sdr/contact/viewobjectcontactofe3d.hxx index ac573bf2271f..957b2665b2a7 100644 --- a/svx/inc/sdr/contact/viewobjectcontactofe3d.hxx +++ b/svx/inc/sdr/contact/viewobjectcontactofe3d.hxx @@ -52,7 +52,7 @@ namespace sdr public: ViewObjectContactOfE3d(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfE3d(); + virtual ~ViewObjectContactOfE3d() override; // access to the local primitive sequence. This will ensure that the list is // current in comparing the local list content with a fresh created incarnation diff --git a/svx/inc/sdr/contact/viewobjectcontactofe3dscene.hxx b/svx/inc/sdr/contact/viewobjectcontactofe3dscene.hxx index ae1a40910bdb..f30603be9959 100644 --- a/svx/inc/sdr/contact/viewobjectcontactofe3dscene.hxx +++ b/svx/inc/sdr/contact/viewobjectcontactofe3dscene.hxx @@ -37,7 +37,7 @@ namespace sdr public: // basic constructor. ViewObjectContactOfE3dScene(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfE3dScene(); + virtual ~ViewObjectContactOfE3dScene() override; // process this primitive: Eventually also recursively travel an existing hierarchy, // e.g. for group objects, scenes or pages. This method will test geometrical visibility. diff --git a/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx b/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx index 89c03e490304..75ecbf65dc2a 100644 --- a/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx +++ b/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx @@ -58,7 +58,7 @@ namespace sdr public: ViewObjectContactOfGraphic(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfGraphic(); + virtual ~ViewObjectContactOfGraphic() override; }; } // end of namespace contact } // end of namespace sdr diff --git a/svx/inc/sdr/contact/viewobjectcontactofgroup.hxx b/svx/inc/sdr/contact/viewobjectcontactofgroup.hxx index 751931cbd039..416ca0fb633b 100644 --- a/svx/inc/sdr/contact/viewobjectcontactofgroup.hxx +++ b/svx/inc/sdr/contact/viewobjectcontactofgroup.hxx @@ -31,7 +31,7 @@ namespace sdr public: // basic constructor. ViewObjectContactOfGroup(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfGroup(); + virtual ~ViewObjectContactOfGroup() override; // This method recursively paints the draw hierarchy. virtual drawinglayer::primitive2d::Primitive2DContainer getPrimitive2DSequenceHierarchy(DisplayInfo& rDisplayInfo) const override; diff --git a/svx/inc/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx b/svx/inc/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx index 5aee57dcd714..35775fdaeb36 100644 --- a/svx/inc/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx +++ b/svx/inc/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx @@ -34,7 +34,7 @@ namespace sdr { public: ViewObjectContactOfMasterPageDescriptor(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfMasterPageDescriptor(); + virtual ~ViewObjectContactOfMasterPageDescriptor() override; // access to MasterPageDescriptor sdr::MasterPageDescriptor& GetMasterPageDescriptor() const; diff --git a/svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx b/svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx index 9feef60759d9..efe62f09f7c2 100644 --- a/svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx +++ b/svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx @@ -40,7 +40,7 @@ namespace sdr ViewObjectContactOfSdrMediaObj( ObjectContact& rObjectContact, ViewContact& rViewContact, const ::avmedia::MediaItem& rMediaItem ); - virtual ~ViewObjectContactOfSdrMediaObj(); + virtual ~ViewObjectContactOfSdrMediaObj() override; public: diff --git a/svx/inc/sdr/contact/viewobjectcontactofsdrole2obj.hxx b/svx/inc/sdr/contact/viewobjectcontactofsdrole2obj.hxx index 4f724b36ce56..31ad144b65f2 100644 --- a/svx/inc/sdr/contact/viewobjectcontactofsdrole2obj.hxx +++ b/svx/inc/sdr/contact/viewobjectcontactofsdrole2obj.hxx @@ -36,7 +36,7 @@ protected: public: ViewObjectContactOfSdrOle2Obj(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfSdrOle2Obj(); + virtual ~ViewObjectContactOfSdrOle2Obj() override; }; }} diff --git a/svx/inc/sdr/contact/viewobjectcontactofsdrpage.hxx b/svx/inc/sdr/contact/viewobjectcontactofsdrpage.hxx index 86a45e8d6317..e267b6179467 100644 --- a/svx/inc/sdr/contact/viewobjectcontactofsdrpage.hxx +++ b/svx/inc/sdr/contact/viewobjectcontactofsdrpage.hxx @@ -35,7 +35,7 @@ namespace sdr public: ViewObjectContactOfPageSubObject(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfPageSubObject(); + virtual ~ViewObjectContactOfPageSubObject() override; virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override; virtual bool isPrimitiveGhosted(const DisplayInfo& rDisplayInfo) const override; @@ -54,7 +54,7 @@ namespace sdr public: ViewObjectContactOfPageBackground(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfPageBackground(); + virtual ~ViewObjectContactOfPageBackground() override; virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override; }; @@ -70,7 +70,7 @@ namespace sdr protected: public: ViewObjectContactOfMasterPage(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfMasterPage(); + virtual ~ViewObjectContactOfMasterPage() override; virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override; }; @@ -88,7 +88,7 @@ namespace sdr public: ViewObjectContactOfPageFill(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfPageFill(); + virtual ~ViewObjectContactOfPageFill() override; virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override; }; @@ -103,7 +103,7 @@ namespace sdr { public: ViewObjectContactOfPageShadow(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfPageShadow(); + virtual ~ViewObjectContactOfPageShadow() override; virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override; }; @@ -118,7 +118,7 @@ namespace sdr { public: ViewObjectContactOfOuterPageBorder(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfOuterPageBorder(); + virtual ~ViewObjectContactOfOuterPageBorder() override; virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override; }; @@ -133,7 +133,7 @@ namespace sdr { public: ViewObjectContactOfInnerPageBorder(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfInnerPageBorder(); + virtual ~ViewObjectContactOfInnerPageBorder() override; virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override; }; @@ -148,7 +148,7 @@ namespace sdr { public: ViewObjectContactOfPageHierarchy(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfPageHierarchy(); + virtual ~ViewObjectContactOfPageHierarchy() override; virtual drawinglayer::primitive2d::Primitive2DContainer getPrimitive2DSequenceHierarchy(DisplayInfo& rDisplayInfo) const override; }; @@ -166,7 +166,7 @@ namespace sdr public: ViewObjectContactOfPageGrid(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfPageGrid(); + virtual ~ViewObjectContactOfPageGrid() override; virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override; }; @@ -184,7 +184,7 @@ namespace sdr public: ViewObjectContactOfPageHelplines(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfPageHelplines(); + virtual ~ViewObjectContactOfPageHelplines() override; virtual bool isPrimitiveVisible(const DisplayInfo& rDisplayInfo) const override; }; @@ -199,7 +199,7 @@ namespace sdr { public: ViewObjectContactOfSdrPage(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfSdrPage(); + virtual ~ViewObjectContactOfSdrPage() override; virtual drawinglayer::primitive2d::Primitive2DContainer getPrimitive2DSequenceHierarchy(DisplayInfo& rDisplayInfo) const override; }; diff --git a/svx/inc/sdr/contact/viewobjectcontactofunocontrol.hxx b/svx/inc/sdr/contact/viewobjectcontactofunocontrol.hxx index c9c1abbff6df..7872e7655163 100644 --- a/svx/inc/sdr/contact/viewobjectcontactofunocontrol.hxx +++ b/svx/inc/sdr/contact/viewobjectcontactofunocontrol.hxx @@ -89,7 +89,7 @@ namespace sdr { namespace contact { void onControlChangedOrModified( ImplAccess ) { impl_onControlChangedOrModified(); } protected: - virtual ~ViewObjectContactOfUnoControl(); + virtual ~ViewObjectContactOfUnoControl() override; // support for Primitive2D virtual drawinglayer::primitive2d::Primitive2DContainer createPrimitive2DSequence(const DisplayInfo& rDisplayInfo) const override; @@ -108,7 +108,7 @@ namespace sdr { namespace contact { { public: UnoControlPrintOrPreviewContact( ObjectContactOfPageView& _rObjectContact, ViewContactOfUnoControl& _rViewContact ); - virtual ~UnoControlPrintOrPreviewContact(); + virtual ~UnoControlPrintOrPreviewContact() override; private: UnoControlPrintOrPreviewContact( const UnoControlPrintOrPreviewContact& ) = delete; diff --git a/svx/inc/sdr/overlay/overlaycrosshair.hxx b/svx/inc/sdr/overlay/overlaycrosshair.hxx index 74a5069a0a9a..c2db22950e86 100644 --- a/svx/inc/sdr/overlay/overlaycrosshair.hxx +++ b/svx/inc/sdr/overlay/overlaycrosshair.hxx @@ -35,7 +35,7 @@ namespace sdr public: explicit OverlayCrosshairStriped(const basegfx::B2DPoint& rBasePos); - virtual ~OverlayCrosshairStriped(); + virtual ~OverlayCrosshairStriped() override; // react on stripe definition change virtual void stripeDefinitionHasChanged() override; diff --git a/svx/inc/sdr/overlay/overlayhandle.hxx b/svx/inc/sdr/overlay/overlayhandle.hxx index 09e18aa79a20..5e916bfe568e 100644 --- a/svx/inc/sdr/overlay/overlayhandle.hxx +++ b/svx/inc/sdr/overlay/overlayhandle.hxx @@ -34,7 +34,7 @@ public: Color& rFillColor, float fTransparency = 0.0f); - virtual ~OverlayHandle(); + virtual ~OverlayHandle() override; }; }} // end of namespace sdr::overlay diff --git a/svx/inc/sdr/overlay/overlayhelpline.hxx b/svx/inc/sdr/overlay/overlayhelpline.hxx index a5bc4283698d..7329dcf40459 100644 --- a/svx/inc/sdr/overlay/overlayhelpline.hxx +++ b/svx/inc/sdr/overlay/overlayhelpline.hxx @@ -41,7 +41,7 @@ namespace sdr explicit OverlayHelplineStriped( const basegfx::B2DPoint& rBasePos, SdrHelpLineKind eNewKind = SdrHelpLineKind::Point); - virtual ~OverlayHelplineStriped(); + virtual ~OverlayHelplineStriped() override; // dat read access SdrHelpLineKind getKind() const { return meKind; } diff --git a/svx/inc/sdr/overlay/overlayline.hxx b/svx/inc/sdr/overlay/overlayline.hxx index 6fb4f0c95ae7..ba5acb35504d 100644 --- a/svx/inc/sdr/overlay/overlayline.hxx +++ b/svx/inc/sdr/overlay/overlayline.hxx @@ -40,7 +40,7 @@ namespace sdr OverlayLineStriped( const basegfx::B2DPoint& rBasePos, const basegfx::B2DPoint& rSecondPos); - virtual ~OverlayLineStriped(); + virtual ~OverlayLineStriped() override; // change second position const basegfx::B2DPoint& getSecondPosition() const { return maSecondPosition; } diff --git a/svx/inc/sdr/overlay/overlaymanagerbuffered.hxx b/svx/inc/sdr/overlay/overlaymanagerbuffered.hxx index 5eae9d6cb599..5528315fe20f 100644 --- a/svx/inc/sdr/overlay/overlaymanagerbuffered.hxx +++ b/svx/inc/sdr/overlay/overlaymanagerbuffered.hxx @@ -63,7 +63,7 @@ namespace sdr OverlayManagerBuffered( OutputDevice& rOutputDevice, bool bRefreshWithPreRendering = false); - virtual ~OverlayManagerBuffered(); + virtual ~OverlayManagerBuffered() override; public: static rtl::Reference<OverlayManager> create(OutputDevice& rOutputDevice, diff --git a/svx/inc/sdr/overlay/overlayrollingrectangle.hxx b/svx/inc/sdr/overlay/overlayrollingrectangle.hxx index de6d320ceb90..2cab78012114 100644 --- a/svx/inc/sdr/overlay/overlayrollingrectangle.hxx +++ b/svx/inc/sdr/overlay/overlayrollingrectangle.hxx @@ -48,7 +48,7 @@ namespace sdr const basegfx::B2DPoint& rSecondPos, bool bExtendedLines = false, bool bShowBounds = true); - virtual ~OverlayRollingRectangleStriped(); + virtual ~OverlayRollingRectangleStriped() override; // change second position const basegfx::B2DPoint& getSecondPosition() const { return maSecondPosition; } diff --git a/svx/inc/sdr/properties/attributeproperties.hxx b/svx/inc/sdr/properties/attributeproperties.hxx index 262cf7749d7c..87ec2975b8ae 100644 --- a/svx/inc/sdr/properties/attributeproperties.hxx +++ b/svx/inc/sdr/properties/attributeproperties.hxx @@ -61,7 +61,7 @@ namespace sdr virtual BaseProperties& Clone(SdrObject& rObj) const override; // destructor - virtual ~AttributeProperties(); + virtual ~AttributeProperties() override; // set a new StyleSheet and broadcast virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr) override; diff --git a/svx/inc/sdr/properties/captionproperties.hxx b/svx/inc/sdr/properties/captionproperties.hxx index 973741ecedfe..13bb57ff3d6a 100644 --- a/svx/inc/sdr/properties/captionproperties.hxx +++ b/svx/inc/sdr/properties/captionproperties.hxx @@ -44,7 +44,7 @@ namespace sdr CaptionProperties(const CaptionProperties& rProps, SdrObject& rObj); // destructor - virtual ~CaptionProperties(); + virtual ~CaptionProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/circleproperties.hxx b/svx/inc/sdr/properties/circleproperties.hxx index ec06c55cf459..df8ae4c472dc 100644 --- a/svx/inc/sdr/properties/circleproperties.hxx +++ b/svx/inc/sdr/properties/circleproperties.hxx @@ -44,7 +44,7 @@ namespace sdr CircleProperties(const CircleProperties& rProps, SdrObject& rObj); // destructor - virtual ~CircleProperties(); + virtual ~CircleProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/connectorproperties.hxx b/svx/inc/sdr/properties/connectorproperties.hxx index 821d7ea3fb18..95de994a0085 100644 --- a/svx/inc/sdr/properties/connectorproperties.hxx +++ b/svx/inc/sdr/properties/connectorproperties.hxx @@ -44,7 +44,7 @@ namespace sdr ConnectorProperties(const ConnectorProperties& rProps, SdrObject& rObj); // destructor - virtual ~ConnectorProperties(); + virtual ~ConnectorProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/customshapeproperties.hxx b/svx/inc/sdr/properties/customshapeproperties.hxx index 3f1cc40cd54a..ba93dad7339a 100644 --- a/svx/inc/sdr/properties/customshapeproperties.hxx +++ b/svx/inc/sdr/properties/customshapeproperties.hxx @@ -72,7 +72,7 @@ namespace sdr CustomShapeProperties(const CustomShapeProperties& rProps, SdrObject& rObj); // destructor - virtual ~CustomShapeProperties(); + virtual ~CustomShapeProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/e3dcompoundproperties.hxx b/svx/inc/sdr/properties/e3dcompoundproperties.hxx index a26dd4b0815a..b5d6bd67d2ec 100644 --- a/svx/inc/sdr/properties/e3dcompoundproperties.hxx +++ b/svx/inc/sdr/properties/e3dcompoundproperties.hxx @@ -42,7 +42,7 @@ namespace sdr E3dCompoundProperties(const E3dCompoundProperties& rProps, SdrObject& rObj); // destructor - virtual ~E3dCompoundProperties(); + virtual ~E3dCompoundProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/e3dextrudeproperties.hxx b/svx/inc/sdr/properties/e3dextrudeproperties.hxx index e846203b90db..c8156ac3695f 100644 --- a/svx/inc/sdr/properties/e3dextrudeproperties.hxx +++ b/svx/inc/sdr/properties/e3dextrudeproperties.hxx @@ -41,7 +41,7 @@ namespace sdr E3dExtrudeProperties(const E3dExtrudeProperties& rProps, SdrObject& rObj); // destructor - virtual ~E3dExtrudeProperties(); + virtual ~E3dExtrudeProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/e3dlatheproperties.hxx b/svx/inc/sdr/properties/e3dlatheproperties.hxx index 7ed1c77952c7..5c7cc4ff1780 100644 --- a/svx/inc/sdr/properties/e3dlatheproperties.hxx +++ b/svx/inc/sdr/properties/e3dlatheproperties.hxx @@ -41,7 +41,7 @@ namespace sdr E3dLatheProperties(const E3dLatheProperties& rProps, SdrObject& rObj); // destructor - virtual ~E3dLatheProperties(); + virtual ~E3dLatheProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/e3dproperties.hxx b/svx/inc/sdr/properties/e3dproperties.hxx index 34f554b1cfa5..07006c0afda5 100644 --- a/svx/inc/sdr/properties/e3dproperties.hxx +++ b/svx/inc/sdr/properties/e3dproperties.hxx @@ -44,7 +44,7 @@ namespace sdr E3dProperties(const E3dProperties& rProps, SdrObject& rObj); // destructor - virtual ~E3dProperties(); + virtual ~E3dProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/e3dsceneproperties.hxx b/svx/inc/sdr/properties/e3dsceneproperties.hxx index bd415df1fc69..54f4981d8de1 100644 --- a/svx/inc/sdr/properties/e3dsceneproperties.hxx +++ b/svx/inc/sdr/properties/e3dsceneproperties.hxx @@ -41,7 +41,7 @@ namespace sdr E3dSceneProperties(const E3dSceneProperties& rProps, SdrObject& rObj); // destructor - virtual ~E3dSceneProperties(); + virtual ~E3dSceneProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/e3dsphereproperties.hxx b/svx/inc/sdr/properties/e3dsphereproperties.hxx index 0a08f57c3abd..c7e5068d08cd 100644 --- a/svx/inc/sdr/properties/e3dsphereproperties.hxx +++ b/svx/inc/sdr/properties/e3dsphereproperties.hxx @@ -41,7 +41,7 @@ namespace sdr E3dSphereProperties(const E3dSphereProperties& rProps, SdrObject& rObj); // destructor - virtual ~E3dSphereProperties(); + virtual ~E3dSphereProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/emptyproperties.hxx b/svx/inc/sdr/properties/emptyproperties.hxx index 453e3572be76..d8c1f3e18499 100644 --- a/svx/inc/sdr/properties/emptyproperties.hxx +++ b/svx/inc/sdr/properties/emptyproperties.hxx @@ -56,7 +56,7 @@ namespace sdr EmptyProperties(const EmptyProperties& rProps, SdrObject& rObj); // destructor - virtual ~EmptyProperties(); + virtual ~EmptyProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/graphicproperties.hxx b/svx/inc/sdr/properties/graphicproperties.hxx index 768ef386dfc4..aeb8b6585a98 100644 --- a/svx/inc/sdr/properties/graphicproperties.hxx +++ b/svx/inc/sdr/properties/graphicproperties.hxx @@ -44,7 +44,7 @@ namespace sdr GraphicProperties(const GraphicProperties& rProps, SdrObject& rObj); // destructor - virtual ~GraphicProperties(); + virtual ~GraphicProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/groupproperties.hxx b/svx/inc/sdr/properties/groupproperties.hxx index 615efffd3015..50d3fb16e652 100644 --- a/svx/inc/sdr/properties/groupproperties.hxx +++ b/svx/inc/sdr/properties/groupproperties.hxx @@ -53,7 +53,7 @@ namespace sdr GroupProperties(const GroupProperties& rProps, SdrObject& rObj); // destructor - virtual ~GroupProperties(); + virtual ~GroupProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/measureproperties.hxx b/svx/inc/sdr/properties/measureproperties.hxx index 908aa2128c86..e7dae195176c 100644 --- a/svx/inc/sdr/properties/measureproperties.hxx +++ b/svx/inc/sdr/properties/measureproperties.hxx @@ -44,7 +44,7 @@ namespace sdr MeasureProperties(const MeasureProperties& rProps, SdrObject& rObj); // destructor - virtual ~MeasureProperties(); + virtual ~MeasureProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/oleproperties.hxx b/svx/inc/sdr/properties/oleproperties.hxx index 00cdb4045ed3..047af50289bc 100644 --- a/svx/inc/sdr/properties/oleproperties.hxx +++ b/svx/inc/sdr/properties/oleproperties.hxx @@ -38,7 +38,7 @@ namespace sdr OleProperties(const OleProperties& rProps, SdrObject& rObj); // destructor - virtual ~OleProperties(); + virtual ~OleProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/pageproperties.hxx b/svx/inc/sdr/properties/pageproperties.hxx index 5df093a2617f..1c4eee7c8cd4 100644 --- a/svx/inc/sdr/properties/pageproperties.hxx +++ b/svx/inc/sdr/properties/pageproperties.hxx @@ -47,7 +47,7 @@ namespace sdr PageProperties(const PageProperties& rProps, SdrObject& rObj); // destructor - virtual ~PageProperties(); + virtual ~PageProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/rectangleproperties.hxx b/svx/inc/sdr/properties/rectangleproperties.hxx index 9e50b549f0f3..376b494eac93 100644 --- a/svx/inc/sdr/properties/rectangleproperties.hxx +++ b/svx/inc/sdr/properties/rectangleproperties.hxx @@ -41,7 +41,7 @@ namespace sdr RectangleProperties(const RectangleProperties& rProps, SdrObject& rObj); // destructor - virtual ~RectangleProperties(); + virtual ~RectangleProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/sdr/properties/textproperties.hxx b/svx/inc/sdr/properties/textproperties.hxx index a7f88280706d..b2c73f4d0a00 100644 --- a/svx/inc/sdr/properties/textproperties.hxx +++ b/svx/inc/sdr/properties/textproperties.hxx @@ -55,7 +55,7 @@ namespace sdr TextProperties(const TextProperties& rProps, SdrObject& rObj); // destructor - virtual ~TextProperties(); + virtual ~TextProperties() override; // Clone() operator, normally just calls the local copy constructor virtual BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/inc/svdibrow.hxx b/svx/inc/svdibrow.hxx index 5a811a02b40e..fd1c675b3686 100644 --- a/svx/inc/svdibrow.hxx +++ b/svx/inc/svdibrow.hxx @@ -70,7 +70,7 @@ protected: virtual sal_Int32 GetFieldIndexAtPoint(sal_Int32 _nRow,sal_Int32 _nColumnPos,const Point& _rPoint) override; public: SdrItemBrowserControl(vcl::Window* pParent); - virtual ~SdrItemBrowserControl(); + virtual ~SdrItemBrowserControl() override; virtual void dispose() override; void Clear(); void SetAttributes(const SfxItemSet* pAttr, const SfxItemSet* p2ndSet); @@ -107,7 +107,7 @@ class SdrItemBrowser: public FloatingWindow { DECL_LINK_TYPED(SetDirtyHdl, SdrItemBrowserControl&, void); public: SdrItemBrowser(SdrView& rView); - virtual ~SdrItemBrowser(); + virtual ~SdrItemBrowser() override; void ForceParent(); void SetDirty(); void Undirty(); diff --git a/svx/inc/tbunosearchcontrollers.hxx b/svx/inc/tbunosearchcontrollers.hxx index 5b38ff7b02c8..81233727bb9b 100644 --- a/svx/inc/tbunosearchcontrollers.hxx +++ b/svx/inc/tbunosearchcontrollers.hxx @@ -89,7 +89,7 @@ class FindTextToolbarController : public svt::ToolboxController, public: FindTextToolbarController( const css::uno::Reference< css::uno::XComponentContext > & rxContext ); - virtual ~FindTextToolbarController(); + virtual ~FindTextToolbarController() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) override; @@ -131,7 +131,7 @@ class ExitSearchToolboxController : public svt::ToolboxController, { public: ExitSearchToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~ExitSearchToolboxController(); + virtual ~ExitSearchToolboxController() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) override; @@ -163,7 +163,7 @@ public: enum Type { UP, DOWN }; UpDownSearchToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext, Type eType ); - virtual ~UpDownSearchToolboxController(); + virtual ~UpDownSearchToolboxController() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) override; @@ -196,7 +196,7 @@ class MatchCaseToolboxController : public svt::ToolboxController, { public: MatchCaseToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~MatchCaseToolboxController(); + virtual ~MatchCaseToolboxController() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) override; @@ -229,7 +229,7 @@ class SearchFormattedToolboxController : public svt::ToolboxController, { public: SearchFormattedToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~SearchFormattedToolboxController(); + virtual ~SearchFormattedToolboxController() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) override; @@ -262,7 +262,7 @@ class FindAllToolboxController : public svt::ToolboxController, { public: FindAllToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~FindAllToolboxController(); + virtual ~FindAllToolboxController() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) override; @@ -292,7 +292,7 @@ class SearchLabelToolboxController : public svt::ToolboxController, { public: SearchLabelToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~SearchLabelToolboxController(); + virtual ~SearchLabelToolboxController() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) override; @@ -328,7 +328,7 @@ class FindbarDispatcher : public css::lang::XServiceInfo, public: FindbarDispatcher(); - virtual ~FindbarDispatcher(); + virtual ~FindbarDispatcher() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/svx/inc/unomlstr.hxx b/svx/inc/unomlstr.hxx index 42bf502e0743..8f816e8a65a0 100644 --- a/svx/inc/unomlstr.hxx +++ b/svx/inc/unomlstr.hxx @@ -31,7 +31,7 @@ class SvxUnoShapeModifyListener : public ::cppu::WeakAggImplHelper1< css::util:: public: SvxUnoShapeModifyListener( SdrObject* pObj ) throw(); - virtual ~SvxUnoShapeModifyListener() throw(); + virtual ~SvxUnoShapeModifyListener() throw() override; // css::util::XModifyListener virtual void SAL_CALL modified(const css::lang::EventObject& aEvent) throw( css::uno::RuntimeException, std::exception) override; diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.cxx b/svx/source/accessibility/AccessibleEmptyEditSource.cxx index ebad3d603f23..15fd560dce59 100644 --- a/svx/source/accessibility/AccessibleEmptyEditSource.cxx +++ b/svx/source/accessibility/AccessibleEmptyEditSource.cxx @@ -53,7 +53,7 @@ namespace accessibility AccessibleProxyEditSource_Impl( SdrObject& rObj, SdrView& rView, const vcl::Window& rViewWindow ); - virtual ~AccessibleProxyEditSource_Impl(); + virtual ~AccessibleProxyEditSource_Impl() override; // from the SvxEditSource interface SvxTextForwarder* GetTextForwarder() override; @@ -78,7 +78,7 @@ namespace accessibility public: AccessibleEmptyEditSource_Impl() {} - virtual ~AccessibleEmptyEditSource_Impl() {} + virtual ~AccessibleEmptyEditSource_Impl() override {} // SvxEditSource SvxTextForwarder* GetTextForwarder() override { return this; } diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.hxx b/svx/source/accessibility/AccessibleEmptyEditSource.hxx index 5a56f329e381..5fb7926c62ae 100644 --- a/svx/source/accessibility/AccessibleEmptyEditSource.hxx +++ b/svx/source/accessibility/AccessibleEmptyEditSource.hxx @@ -50,7 +50,7 @@ namespace accessibility does not contain text. */ AccessibleEmptyEditSource( SdrObject& rObj, SdrView& rView, const vcl::Window& rViewWindow ); - virtual ~AccessibleEmptyEditSource(); + virtual ~AccessibleEmptyEditSource() override; // from the SvxEditSource interface SvxTextForwarder* GetTextForwarder() override; diff --git a/svx/source/accessibility/AccessibleTextHelper.cxx b/svx/source/accessibility/AccessibleTextHelper.cxx index 444c08897507..9ebfa8f9f63c 100644 --- a/svx/source/accessibility/AccessibleTextHelper.cxx +++ b/svx/source/accessibility/AccessibleTextHelper.cxx @@ -93,7 +93,7 @@ namespace accessibility // receive pointer to our frontend class and view window AccessibleTextHelper_Impl(); - virtual ~AccessibleTextHelper_Impl(); + virtual ~AccessibleTextHelper_Impl() override; // XAccessibleContext child handling methods sal_Int32 SAL_CALL getAccessibleChildCount(); diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx index 757953f6a019..d8c0776bb195 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.hxx +++ b/svx/source/accessibility/ChildrenManagerImpl.hxx @@ -105,7 +105,7 @@ public: /** If there still are managed children these are disposed and released. */ - virtual ~ChildrenManagerImpl(); + virtual ~ChildrenManagerImpl() override; /** Do that part of the initialization that you can not or should not do in the constructor like registering at broadcasters. diff --git a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx index 15ce39efb7d7..bb26ebd1027d 100644 --- a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx @@ -76,7 +76,7 @@ class EnhancedCustomShapeEngine : public cppu::WeakImplHelper public: EnhancedCustomShapeEngine(); - virtual ~EnhancedCustomShapeEngine(); + virtual ~EnhancedCustomShapeEngine() override; // XInterface virtual void SAL_CALL acquire() throw() override; diff --git a/svx/source/customshapes/EnhancedCustomShapeHandle.hxx b/svx/source/customshapes/EnhancedCustomShapeHandle.hxx index ccf6c8b038ad..15525d50fb6d 100644 --- a/svx/source/customshapes/EnhancedCustomShapeHandle.hxx +++ b/svx/source/customshapes/EnhancedCustomShapeHandle.hxx @@ -41,7 +41,7 @@ class EnhancedCustomShapeHandle : public cppu::WeakImplHelper public: EnhancedCustomShapeHandle( css::uno::Reference< css::drawing::XShape >& xCustomShape, sal_uInt32 nIndex ); - virtual ~EnhancedCustomShapeHandle(); + virtual ~EnhancedCustomShapeHandle() override; // XInterface virtual void SAL_CALL acquire() throw() override; diff --git a/svx/source/dialog/_bmpmask.cxx b/svx/source/dialog/_bmpmask.cxx index 0edba8f589a2..3d81a9e7b495 100644 --- a/svx/source/dialog/_bmpmask.cxx +++ b/svx/source/dialog/_bmpmask.cxx @@ -86,7 +86,7 @@ class MaskSet : public ValueSet public: MaskSet(SvxBmpMask* pMask, vcl::Window* pParent); - virtual ~MaskSet() { disposeOnce(); } + virtual ~MaskSet() override { disposeOnce(); } virtual void dispose() override { pSvxBmpMask.clear(); ValueSet::dispose(); } virtual void Select() override; virtual void KeyInput( const KeyEvent& rKEvt ) override; diff --git a/svx/source/dialog/contimp.hxx b/svx/source/dialog/contimp.hxx index cddb4e9b6add..be0fd4adf6a4 100644 --- a/svx/source/dialog/contimp.hxx +++ b/svx/source/dialog/contimp.hxx @@ -98,7 +98,7 @@ public: SvxSuperContourDlg(SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window* pParent); - virtual ~SvxSuperContourDlg(); + virtual ~SvxSuperContourDlg() override; virtual void dispose() override; void SetExecState( bool bEnable ); diff --git a/svx/source/dialog/imapwnd.hxx b/svx/source/dialog/imapwnd.hxx index 74974a5b003d..970662bdd529 100644 --- a/svx/source/dialog/imapwnd.hxx +++ b/svx/source/dialog/imapwnd.hxx @@ -68,7 +68,7 @@ public: SdrObjUserData ( IMapInventor, SVD_IMAP_USERDATA ), mpObj ( rIMapUserData.mpObj ) {} - virtual ~IMapUserData() { } + virtual ~IMapUserData() override { } virtual SdrObjUserData* Clone( SdrObject * ) const override { return new IMapUserData( *this ); } @@ -116,7 +116,7 @@ protected: public: IMapWindow( vcl::Window* pParent, WinBits nBits, const css::uno::Reference< css::frame::XFrame >& rxDocumentFrame ); - virtual ~IMapWindow(); + virtual ~IMapWindow() override; virtual void dispose() override; void ReplaceActualIMapInfo( const NotifyInfo& rNewInfo ); diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index c52cdfbbc5a2..65e11f6c5e1b 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -96,7 +96,7 @@ class SvxRubyData_Impl : public cppu::WeakImplHelper<css::view::XSelectionChange public: SvxRubyData_Impl(); - virtual ~SvxRubyData_Impl(); + virtual ~SvxRubyData_Impl() override; void SetController(const Reference<XController>& xCtrl); Reference<XModel> const & GetModel() diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index f2aa1f0be2dd..cc5d93f3f4aa 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -136,7 +136,7 @@ class GridFieldValueListener : protected ::comphelper::OPropertyChangeListener public: GridFieldValueListener(DbGridControl& _rParent, const Reference< XPropertySet >& xField, sal_uInt16 _nId); - virtual ~GridFieldValueListener(); + virtual ~GridFieldValueListener() override; virtual void _propertyChanged(const PropertyChangeEvent& evt) throw( RuntimeException ) override; @@ -197,7 +197,7 @@ class DisposeListenerGridBridge : public FmXDisposeListener public: DisposeListenerGridBridge( DbGridControl& _rParent, const Reference< XComponent >& _rxObject); - virtual ~DisposeListenerGridBridge(); + virtual ~DisposeListenerGridBridge() override; virtual void disposing(const EventObject& _rEvent, sal_Int16 _nId) throw( RuntimeException ) override { m_rParent.disposing(_nId, _rEvent); } }; diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx index f66be66fbe02..db93df68ab94 100644 --- a/svx/source/form/fmscriptingenv.cxx +++ b/svx/source/form/fmscriptingenv.cxx @@ -97,7 +97,7 @@ namespace svxform void SAL_CALL dispose(); protected: - virtual ~FormScriptListener(); + virtual ~FormScriptListener() override; private: /** determines whether calling a given method at a given listener interface can be done asynchronously @@ -151,7 +151,7 @@ namespace svxform public: explicit FormScriptingEnvironment( FmFormModel& _rModel ); - virtual ~FormScriptingEnvironment(); + virtual ~FormScriptingEnvironment() override; FormScriptingEnvironment(const FormScriptingEnvironment&) = delete; FormScriptingEnvironment& operator=(const FormScriptingEnvironment&) = delete; diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx index f21f324dd2c0..52b6b2e67d5b 100644 --- a/svx/source/form/fmtextcontrolshell.cxx +++ b/svx/source/form/fmtextcontrolshell.cxx @@ -174,7 +174,7 @@ namespace svx void dispose(); protected: - virtual ~FmFocusListenerAdapter(); + virtual ~FmFocusListenerAdapter() override; protected: virtual void SAL_CALL focusGained( const css::awt::FocusEvent& e ) throw (RuntimeException, std::exception) override; @@ -259,7 +259,7 @@ namespace svx void dispose(); protected: - virtual ~FmMouseListenerAdapter(); + virtual ~FmMouseListenerAdapter() override; protected: virtual void SAL_CALL mousePressed( const css::awt::MouseEvent& e ) throw (RuntimeException, std::exception) override; diff --git a/svx/source/gallery2/galbrws1.hxx b/svx/source/gallery2/galbrws1.hxx index abc9c4cae342..de7cc8cce042 100644 --- a/svx/source/gallery2/galbrws1.hxx +++ b/svx/source/gallery2/galbrws1.hxx @@ -120,7 +120,7 @@ public: Gallery* pGallery, const ::std::function<sal_Bool (const KeyEvent&,Window*)>& rKeyInputHandler, const ::std::function<void ()>& rThemeSlectionHandler); - virtual ~GalleryBrowser1(); + virtual ~GalleryBrowser1() override; virtual void dispose() override; void SelectTheme( sal_uInt16 nThemePos ) { mpThemes->SelectEntryPos( nThemePos ); SelectThemeHdl( *mpThemes ); } diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx index c1ee1ad51650..f2b38b84291c 100644 --- a/svx/source/gallery2/galbrws2.cxx +++ b/svx/source/gallery2/galbrws2.cxx @@ -129,7 +129,7 @@ public: sal_uIntPtr nObjectPos, bool bPreview, GalleryBrowser2* pBrowser ); - virtual ~GalleryThemePopup(); + virtual ~GalleryThemePopup() override; void ExecutePopup( vcl::Window *pParent, const ::Point &aPos ); diff --git a/svx/source/inc/AccessibleFrameSelector.hxx b/svx/source/inc/AccessibleFrameSelector.hxx index 42a76a65742a..fb1771fcd501 100644 --- a/svx/source/inc/AccessibleFrameSelector.hxx +++ b/svx/source/inc/AccessibleFrameSelector.hxx @@ -59,7 +59,7 @@ class AccFrameSelector : public: explicit AccFrameSelector( FrameSelector& rFrameSel, FrameBorderType eBorder ); - virtual ~AccFrameSelector(); + virtual ~AccFrameSelector() override; //XAccessible virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/svx/source/inc/GraphCtlAccessibleContext.hxx b/svx/source/inc/GraphCtlAccessibleContext.hxx index 63d802ca0644..0f4f171bcea3 100644 --- a/svx/source/inc/GraphCtlAccessibleContext.hxx +++ b/svx/source/inc/GraphCtlAccessibleContext.hxx @@ -92,7 +92,7 @@ public: void Notify( SfxBroadcaster& aBC, const SfxHint& aHint ) override; protected: - virtual ~SvxGraphCtrlAccessibleContext(); + virtual ~SvxGraphCtrlAccessibleContext() override; public: // XAccessible /// Return the XAccessibleContext. diff --git a/svx/source/inc/charmapacc.hxx b/svx/source/inc/charmapacc.hxx index 02260bd3c1a2..6e78475903b0 100644 --- a/svx/source/inc/charmapacc.hxx +++ b/svx/source/inc/charmapacc.hxx @@ -45,7 +45,7 @@ namespace svx SvxShowCharSetAcc* m_pTable; // the table, which holds the characters shown by the vcl control css::uno::Reference< css::accessibility::XAccessible > m_xAcc; // the ref to the table protected: - virtual ~SvxShowCharSetVirtualAcc(); + virtual ~SvxShowCharSetVirtualAcc() override; virtual void SAL_CALL disposing() override; @@ -186,7 +186,7 @@ namespace svx } protected: - virtual ~SvxShowCharSetAcc(); + virtual ~SvxShowCharSetAcc() override; // OCommonAccessibleSelection // return if the specified child is visible => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx) @@ -221,7 +221,7 @@ namespace svx private: SvxShowCharSetItem* mpParent; protected: - virtual ~SvxShowCharSetItemAcc(); + virtual ~SvxShowCharSetItemAcc() override; // OCommonAccessibleComponent /// implements the calculation of the bounding rectangle - still waiting to be overwritten diff --git a/svx/source/inc/datalistener.hxx b/svx/source/inc/datalistener.hxx index 7c61b7b39959..c12109c3e001 100644 --- a/svx/source/inc/datalistener.hxx +++ b/svx/source/inc/datalistener.hxx @@ -46,7 +46,7 @@ namespace svxform DataListener( DataNavigatorWindow* pNaviWin ); protected: - virtual ~DataListener(); + virtual ~DataListener() override; public: // XContainerListener diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx index eda7ac894981..da4aba3f3b6d 100644 --- a/svx/source/inc/datanavi.hxx +++ b/svx/source/inc/datanavi.hxx @@ -116,7 +116,7 @@ namespace svxform public: DataTreeListBox( vcl::Window* pParent, WinBits nBits ); - virtual ~DataTreeListBox(); + virtual ~DataTreeListBox() override; virtual void dispose() override; virtual VclPtr<PopupMenu> CreateContextMenu() override; @@ -277,7 +277,7 @@ namespace svxform public: XFormsPage( vcl::Window* pParent, DataNavigatorWindow* _pNaviWin, DataGroupType _eGroup ); - virtual ~XFormsPage(); + virtual ~XFormsPage() override; virtual void dispose() override; virtual void Resize() override; @@ -357,7 +357,7 @@ namespace svxform public: DataNavigatorWindow( vcl::Window* pParent, SfxBindings* pBindings ); - virtual ~DataNavigatorWindow(); + virtual ~DataNavigatorWindow() override; virtual void dispose() override; static void SetDocModified(); @@ -385,7 +385,7 @@ namespace svxform public: DataNavigator( SfxBindings* pBindings, SfxChildWindow* pMgr, vcl::Window* pParent ); - virtual ~DataNavigator(); + virtual ~DataNavigator() override; virtual void dispose() override; using Window::Update; @@ -456,7 +456,7 @@ namespace svxform public: AddDataItemDialog( vcl::Window* pParent, ItemNode* _pNode, const XFormsUIHelper1_ref& _rUIHelper ); - virtual ~AddDataItemDialog(); + virtual ~AddDataItemDialog() override; virtual void dispose() override; void InitText( DataItemType _eType ); @@ -485,7 +485,7 @@ namespace svxform public: AddConditionDialog(vcl::Window* pParent, const OUString& _rPropertyName, const XPropertySet_ref& _rBinding); - virtual ~AddConditionDialog(); + virtual ~AddConditionDialog() override; virtual void dispose() override; const XFormsUIHelper1_ref& GetUIHelper() const { return m_xUIHelper; } @@ -522,7 +522,7 @@ namespace svxform public: NamespaceItemDialog( AddConditionDialog* pParent, XNameContainer_ref& _rContainer ); - virtual ~NamespaceItemDialog(); + virtual ~NamespaceItemDialog() override; virtual void dispose() override; }; @@ -540,7 +540,7 @@ namespace svxform public: ManageNamespaceDialog(vcl::Window* pParent, AddConditionDialog* _pCondDlg, bool bIsEdit); - virtual ~ManageNamespaceDialog(); + virtual ~ManageNamespaceDialog() override; virtual void dispose() override; void SetNamespace(const OUString& _rPrefix, const OUString& _rURL) @@ -585,7 +585,7 @@ namespace svxform public: AddSubmissionDialog( vcl::Window* pParent, ItemNode* _pNode, const XFormsUIHelper1_ref& _rUIHelper ); - virtual ~AddSubmissionDialog(); + virtual ~AddSubmissionDialog() override; virtual void dispose() override; inline const XSubmission_ref& GetNewSubmission() const { return m_xNewSubmission; } @@ -600,7 +600,7 @@ namespace svxform public: AddModelDialog( vcl::Window* pParent, bool _bEdit ); - virtual ~AddModelDialog(); + virtual ~AddModelDialog() override; virtual void dispose() override; OUString GetName() const { return m_pNameED->GetText(); } @@ -626,7 +626,7 @@ namespace svxform public: AddInstanceDialog( vcl::Window* pParent, bool _bEdit ); - virtual ~AddInstanceDialog(); + virtual ~AddInstanceDialog() override; virtual void dispose() override; OUString GetName() const { return m_pNameED->GetText(); } diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx index 1910c7376863..bba889059f54 100644 --- a/svx/source/inc/docrecovery.hxx +++ b/svx/source/inc/docrecovery.hxx @@ -228,7 +228,7 @@ class RecoveryCore : public ::cppu::WeakImplHelper< css::frame::XStatusListener /** @short TODO */ - virtual ~RecoveryCore(); + virtual ~RecoveryCore() override; /** @short TODO */ @@ -304,7 +304,7 @@ class PluginProgressWindow : public vcl::Window public: PluginProgressWindow( vcl::Window* pParent , const css::uno::Reference< css::lang::XComponent >& xProgress); - virtual ~PluginProgressWindow(); + virtual ~PluginProgressWindow() override; virtual void dispose() override; }; @@ -329,7 +329,7 @@ class PluginProgress : public ::cppu::WeakImplHelper< css::task::XStatusIndicato /** @short TODO */ - virtual ~PluginProgress(); + virtual ~PluginProgress() override; // uno interface @@ -391,7 +391,7 @@ class SaveDialog : public Dialog which should be shown inside this dialog. */ SaveDialog(vcl::Window* pParent, RecoveryCore* pCore); - virtual ~SaveDialog(); + virtual ~SaveDialog() override; virtual void dispose() override; DECL_LINK_TYPED(OKButtonHdl, Button*, void); @@ -426,7 +426,7 @@ class SaveProgressDialog : public ModalDialog */ SaveProgressDialog(vcl::Window* pParent, RecoveryCore* pCore ); - virtual ~SaveProgressDialog(); + virtual ~SaveProgressDialog() override; virtual void dispose() override; /** @short start the emergency save operation. */ @@ -524,7 +524,7 @@ class RecoveryDialog : public Dialog RecoveryDialog(vcl::Window* pParent, RecoveryCore* pCore ); - virtual ~RecoveryDialog(); + virtual ~RecoveryDialog() override; virtual void dispose() override; // IRecoveryUpdateListener @@ -572,7 +572,7 @@ class BrokenRecoveryDialog : public ModalDialog BrokenRecoveryDialog(vcl::Window* pParent , RecoveryCore* pCore , bool bBeforeRecovery); - virtual ~BrokenRecoveryDialog(); + virtual ~BrokenRecoveryDialog() override; virtual void dispose() override; diff --git a/svx/source/inc/filtnav.hxx b/svx/source/inc/filtnav.hxx index e386c50aba87..35ebbe57595e 100644 --- a/svx/source/inc/filtnav.hxx +++ b/svx/source/inc/filtnav.hxx @@ -85,7 +85,7 @@ public: FmParentData(FmParentData* pParent, const OUString& rText) : FmFilterData(pParent, rText) {} - virtual ~FmParentData(); + virtual ~FmParentData() override; ::std::vector< FmFilterData* >& GetChildren() { return m_aChildren; } }; @@ -161,7 +161,7 @@ class FmFilterModel : public FmParentData public: FmFilterModel(); - virtual ~FmFilterModel(); + virtual ~FmFilterModel() override; void Update(const css::uno::Reference< css::container::XIndexAccess > & xControllers, const css::uno::Reference< css::form::runtime::XFormController > & xCurrent); void Clear(); @@ -243,7 +243,7 @@ class FmFilterNavigator : public SvTreeListBox, public SfxListener public: FmFilterNavigator( vcl::Window* pParent ); - virtual ~FmFilterNavigator(); + virtual ~FmFilterNavigator() override; virtual void dispose() override; void UpdateContent( @@ -316,7 +316,7 @@ protected: public: FmFilterNavigatorWin( SfxBindings *pBindings, SfxChildWindow *pMgr, vcl::Window* pParent ); - virtual ~FmFilterNavigatorWin(); + virtual ~FmFilterNavigatorWin() override; virtual void dispose() override; void UpdateContent( FmFormShell* pFormShell ); diff --git a/svx/source/inc/fmPropBrw.hxx b/svx/source/inc/fmPropBrw.hxx index 39514f64f443..44448b58723f 100644 --- a/svx/source/inc/fmPropBrw.hxx +++ b/svx/source/inc/fmPropBrw.hxx @@ -82,7 +82,7 @@ public: vcl::Window* pParent, const SfxChildWinInfo* _pInfo ); - virtual ~FmPropBrw(); + virtual ~FmPropBrw() override; virtual void dispose() override; using SfxFloatingWindow::StateChanged; diff --git a/svx/source/inc/fmexpl.hxx b/svx/source/inc/fmexpl.hxx index 49b9ecdf6ee0..8028ae837af7 100644 --- a/svx/source/inc/fmexpl.hxx +++ b/svx/source/inc/fmexpl.hxx @@ -69,7 +69,7 @@ class FmNavInsertedHint : public SfxHint public: FmNavInsertedHint( FmEntryData* pInsertedEntryData, sal_uInt32 nRelPos ); - virtual ~FmNavInsertedHint(); + virtual ~FmNavInsertedHint() override; FmEntryData* GetEntryData() const { return pEntryData; } sal_uInt32 GetRelPos() const { return nPos; } @@ -82,7 +82,7 @@ class FmNavModelReplacedHint : public SfxHint public: FmNavModelReplacedHint( FmEntryData* pAffectedEntryData ); - virtual ~FmNavModelReplacedHint(); + virtual ~FmNavModelReplacedHint() override; FmEntryData* GetEntryData() const { return pEntryData; } }; @@ -94,7 +94,7 @@ class FmNavRemovedHint : public SfxHint public: FmNavRemovedHint( FmEntryData* pInsertedEntryData ); - virtual ~FmNavRemovedHint(); + virtual ~FmNavRemovedHint() override; FmEntryData* GetEntryData() const { return pEntryData; } }; @@ -107,7 +107,7 @@ class FmNavNameChangedHint : public SfxHint public: FmNavNameChangedHint( FmEntryData* pData, const OUString& rNewName ); - virtual ~FmNavNameChangedHint(); + virtual ~FmNavNameChangedHint() override; FmEntryData* GetEntryData() const { return pEntryData; } const OUString& GetNewName() const { return aNewName; } @@ -118,7 +118,7 @@ class FmNavClearedHint : public SfxHint { public: FmNavClearedHint(); - virtual ~FmNavClearedHint(); + virtual ~FmNavClearedHint() override; }; @@ -127,7 +127,7 @@ class FmNavViewMarksChanged : public SfxHint FmFormView* pView; public: FmNavViewMarksChanged(FmFormView* pWhichView) { pView = pWhichView; } - virtual ~FmNavViewMarksChanged() {} + virtual ~FmNavViewMarksChanged() override {} const FmFormView* GetAffectedView() const { return pView; } }; @@ -223,7 +223,7 @@ public: : m_bMixedSelection(false) { } - virtual ~FmNavRequestSelectHint() {} + virtual ~FmNavRequestSelectHint() override {} void SetMixedSelection(bool bMixedSelection) { m_bMixedSelection = bMixedSelection; } bool IsMixedSelection() const { return m_bMixedSelection; } @@ -247,7 +247,7 @@ public: ); FmFormData( const FmFormData& rFormData ); - virtual ~FmFormData(); + virtual ~FmFormData() override; const css::uno::Reference< css::form::XForm >& GetFormIface() const { return m_xForm; } const css::uno::Reference< css::container::XContainer >& GetContainer() const { return m_xContainer; } @@ -271,7 +271,7 @@ public: FmFormData* _pParent ); FmControlData( const FmControlData& rControlData ); - virtual ~FmControlData(); + virtual ~FmControlData() override; const css::uno::Reference< css::form::XFormComponent >& GetFormComponent() const { return m_xFormComponent; } virtual bool IsEqualWithoutChildren( FmEntryData* pEntryData ) override; @@ -358,7 +358,7 @@ namespace svxform public: NavigatorTreeModel( const ImageList& _rNormalImages ); - virtual ~NavigatorTreeModel(); + virtual ~NavigatorTreeModel() override; void FillBranch( FmFormData* pParentData ); void ClearBranch( FmFormData* pParentData ); @@ -485,7 +485,7 @@ namespace svxform public: NavigatorTree(vcl::Window* pParent ); - virtual ~NavigatorTree(); + virtual ~NavigatorTree() override; virtual void dispose() override; void Clear(); @@ -555,7 +555,7 @@ namespace svxform public: NavigatorFrame( SfxBindings *pBindings, SfxChildWindow *pMgr, vcl::Window* pParent ); - virtual ~NavigatorFrame(); + virtual ~NavigatorFrame() override; virtual void dispose() override; void UpdateContent( FmFormShell* pFormShell ); diff --git a/svx/source/inc/fmobj.hxx b/svx/source/inc/fmobj.hxx index 92fe256e8a70..1a2465457548 100644 --- a/svx/source/inc/fmobj.hxx +++ b/svx/source/inc/fmobj.hxx @@ -65,7 +65,7 @@ public: SAL_DLLPRIVATE void ClearObjEnv(); public: - SAL_DLLPRIVATE virtual ~FmFormObj(); + SAL_DLLPRIVATE virtual ~FmFormObj() override; SAL_DLLPRIVATE virtual void SetPage(SdrPage* pNewPage) override; SAL_DLLPRIVATE virtual sal_uInt32 GetObjInventor() const override; diff --git a/svx/source/inc/fmscriptingenv.hxx b/svx/source/inc/fmscriptingenv.hxx index bca6f69bcd9a..d747f038e844 100644 --- a/svx/source/inc/fmscriptingenv.hxx +++ b/svx/source/inc/fmscriptingenv.hxx @@ -72,7 +72,7 @@ namespace svxform */ virtual void dispose() = 0; - virtual ~IFormScriptingEnvironment(); + virtual ~IFormScriptingEnvironment() override; }; typedef ::rtl::Reference< IFormScriptingEnvironment > PFormScriptingEnvironment; diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx index a7476c228694..21de05b2b7d1 100644 --- a/svx/source/inc/fmshimp.hxx +++ b/svx/source/inc/fmshimp.hxx @@ -265,7 +265,7 @@ public: SAL_DLLPRIVATE FmXFormShell(FmFormShell& _rShell, SfxViewFrame* _pViewFrame); protected: - SAL_DLLPRIVATE virtual ~FmXFormShell(); + SAL_DLLPRIVATE virtual ~FmXFormShell() override; // EventListener SAL_DLLPRIVATE virtual void SAL_CALL disposing(const css::lang::EventObject& Source) throw( css::uno::RuntimeException, std::exception ) override; diff --git a/svx/source/inc/fmtextcontrolfeature.hxx b/svx/source/inc/fmtextcontrolfeature.hxx index d5b6daba0b29..6c208f67e231 100644 --- a/svx/source/inc/fmtextcontrolfeature.hxx +++ b/svx/source/inc/fmtextcontrolfeature.hxx @@ -75,7 +75,7 @@ namespace svx void dispose(); protected: - virtual ~FmTextControlFeature(); + virtual ~FmTextControlFeature() override; protected: // XStatusListener diff --git a/svx/source/inc/fmundo.hxx b/svx/source/inc/fmundo.hxx index a8bad59640c7..7d36f84415a3 100644 --- a/svx/source/inc/fmundo.hxx +++ b/svx/source/inc/fmundo.hxx @@ -90,7 +90,7 @@ public: const css::uno::Reference< css::container::XIndexContainer >& xCont, const css::uno::Reference< css::uno::XInterface >& xElem, sal_Int32 nIdx = -1); - virtual ~FmUndoContainerAction(); + virtual ~FmUndoContainerAction() override; virtual void Undo() override; virtual void Redo() override; @@ -109,7 +109,7 @@ class FmUndoModelReplaceAction : public SdrUndoAction public: FmUndoModelReplaceAction(FmFormModel& rMod, SdrUnoObj* pObject, const css::uno::Reference< css::awt::XControlModel>& xReplaced); - virtual ~FmUndoModelReplaceAction(); + virtual ~FmUndoModelReplaceAction() override; virtual void Undo() override; virtual void Redo() override { Undo(); } @@ -139,7 +139,7 @@ class SVX_DLLPRIVATE FmXUndoEnvironment public: FmXUndoEnvironment(FmFormModel& _rModel); - virtual ~FmXUndoEnvironment(); + virtual ~FmXUndoEnvironment() override; // UNO Anbindung // SMART_UNO_DECLARATION(FmXUndoEnvironment, ::cppu::OWeakObject); diff --git a/svx/source/inc/fmvwimp.hxx b/svx/source/inc/fmvwimp.hxx index 299b18133722..f01ad9d557d9 100644 --- a/svx/source/inc/fmvwimp.hxx +++ b/svx/source/inc/fmvwimp.hxx @@ -96,7 +96,7 @@ class FormViewPageWindowAdapter : public FormViewPageWindowAdapter_Base VclPtr<vcl::Window> m_pWindow; protected: - virtual ~FormViewPageWindowAdapter(); + virtual ~FormViewPageWindowAdapter() override; public: FormViewPageWindowAdapter( const css::uno::Reference<css::uno::XComponentContext>& _rContext, @@ -181,7 +181,7 @@ class FmXFormView : public ::cppu::WeakImplHelper< protected: FmXFormView( FmFormView* _pView ); - virtual ~FmXFormView(); + virtual ~FmXFormView() override; void saveMarkList(); void restoreMarkList( SdrMarkList& _rRestoredMarkList ); diff --git a/svx/source/inc/formcontroller.hxx b/svx/source/inc/formcontroller.hxx index e93160e94172..a28e50f0ce23 100644 --- a/svx/source/inc/formcontroller.hxx +++ b/svx/source/inc/formcontroller.hxx @@ -210,7 +210,7 @@ namespace svxform FormController( const css::uno::Reference< css::uno::XComponentContext > & _rxORB ); protected: - virtual ~FormController(); + virtual ~FormController() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& type) throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/svx/source/inc/formcontrolling.hxx b/svx/source/inc/formcontrolling.hxx index 8b0a824dc9c7..de224754b681 100644 --- a/svx/source/inc/formcontrolling.hxx +++ b/svx/source/inc/formcontrolling.hxx @@ -182,7 +182,7 @@ namespace svx protected: /// dtor - virtual ~FormControllerHelper(); + virtual ~FormControllerHelper() override; // XFeatureInvalidation virtual void SAL_CALL invalidateFeatures( const css::uno::Sequence< ::sal_Int16 >& Features ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/svx/source/inc/formdispatchinterceptor.hxx b/svx/source/inc/formdispatchinterceptor.hxx index 44d6dfa5811f..2b26923ef3b1 100644 --- a/svx/source/inc/formdispatchinterceptor.hxx +++ b/svx/source/inc/formdispatchinterceptor.hxx @@ -68,7 +68,7 @@ namespace svxform css::uno::Reference< css::frame::XDispatchProvider> m_xSlaveDispatcher; css::uno::Reference< css::frame::XDispatchProvider> m_xMasterDispatcher; - virtual ~DispatchInterceptionMultiplexer(); + virtual ~DispatchInterceptionMultiplexer() override; public: css::uno::Reference< css::frame::XDispatchProviderInterception> getIntercepted() const { return m_xIntercepted; } diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx index 71e4ba48a4f5..5a2ce9512b32 100644 --- a/svx/source/inc/gridcell.hxx +++ b/svx/source/inc/gridcell.hxx @@ -262,7 +262,7 @@ protected: public: DbCellControl(DbGridColumn& _rColumn); - virtual ~DbCellControl(); + virtual ~DbCellControl() override; vcl::Window& GetWindow() const @@ -386,7 +386,7 @@ class DbTextField : public DbLimitedLengthField bool m_bIsSimpleEdit; protected: - virtual ~DbTextField( ); + virtual ~DbTextField( ) override; public: DbTextField(DbGridColumn& _rColumn); @@ -420,7 +420,7 @@ protected: public: DbFormattedField(DbGridColumn& _rColumn); - virtual ~DbFormattedField(); + virtual ~DbFormattedField() override; virtual void Init( vcl::Window& rParent, const css::uno::Reference< css::sdbc::XRowSet >& xCursor ) override; @@ -673,7 +673,7 @@ class DbFilterField public: DbFilterField(const css::uno::Reference< css::uno::XComponentContext >& rxContext, DbGridColumn& _rColumn); - virtual ~DbFilterField(); + virtual ~DbFilterField() override; virtual void Init( vcl::Window& rParent, const css::uno::Reference< css::sdbc::XRowSet >& xCursor ) override; virtual ::svt::CellControllerRef CreateController() const override; @@ -724,7 +724,7 @@ private: ::comphelper::OInterfaceContainerHelper2 m_aMouseMotionListeners; protected: - virtual ~FmXGridCell(); + virtual ~FmXGridCell() override; public: FmXGridCell( DbGridColumn* pColumn, DbCellControl* pControl ); @@ -875,7 +875,7 @@ protected: ::svt::IEditImplementation* m_pEditImplementation; bool m_bOwnEditImplementation; - virtual ~FmXEditCell(); + virtual ~FmXEditCell() override; public: FmXEditCell( DbGridColumn* pColumn, DbCellControl& _rControl ); @@ -930,7 +930,7 @@ class FmXCheckBoxCell : public FmXDataCell, VclPtr<CheckBox> m_pBox; protected: - virtual ~FmXCheckBoxCell(); + virtual ~FmXCheckBoxCell() override; public: FmXCheckBoxCell( DbGridColumn* pColumn, DbCellControl& _rControl ); @@ -974,7 +974,7 @@ class FmXListBoxCell :public FmXTextCell VclPtr<ListBox> m_pBox; protected: - virtual ~FmXListBoxCell(); + virtual ~FmXListBoxCell() override; public: FmXListBoxCell( DbGridColumn* pColumn, DbCellControl& _rControl ); @@ -1029,7 +1029,7 @@ private: VclPtr<ComboBox> m_pComboBox; protected: - virtual ~FmXComboBoxCell(); + virtual ~FmXComboBoxCell() override; public: FmXComboBoxCell( DbGridColumn* pColumn, DbCellControl& _rControl ); @@ -1069,7 +1069,7 @@ class FmXFilterCell :public FmXGridCell { ::comphelper::OInterfaceContainerHelper2 m_aTextListeners; protected: - virtual ~FmXFilterCell(); + virtual ~FmXFilterCell() override; public: FmXFilterCell(DbGridColumn* pColumn = nullptr, DbCellControl* pControl = nullptr); diff --git a/svx/source/inc/svxpixelctlaccessiblecontext.hxx b/svx/source/inc/svxpixelctlaccessiblecontext.hxx index 07d807364eb1..791328bdd185 100644 --- a/svx/source/inc/svxpixelctlaccessiblecontext.hxx +++ b/svx/source/inc/svxpixelctlaccessiblecontext.hxx @@ -81,7 +81,7 @@ public: const Rectangle& rBounds, const css::uno::Reference< css::accessibility::XAccessible >& xParent, long nIndexInParent ); - virtual ~SvxPixelCtlAccessibleChild(); + virtual ~SvxPixelCtlAccessibleChild() override; //XAccessible virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override; @@ -169,7 +169,7 @@ class SvxPixelCtlAccessible : public: SvxPixelCtlAccessible(SvxPixelCtl& rWindow); - virtual ~SvxPixelCtlAccessible(); + virtual ~SvxPixelCtlAccessible() override; void ensureIsAlive() const throw ( css::lang::DisposedException ); diff --git a/svx/source/inc/svxrectctaccessiblecontext.hxx b/svx/source/inc/svxrectctaccessiblecontext.hxx index 9f67fa3a46cd..131c6ec31170 100644 --- a/svx/source/inc/svxrectctaccessiblecontext.hxx +++ b/svx/source/inc/svxrectctaccessiblecontext.hxx @@ -76,7 +76,7 @@ public: const css::uno::Reference< css::accessibility::XAccessible>& rxParent, SvxRectCtl& rRepresentation ); protected: - virtual ~SvxRectCtlAccessibleContext(); + virtual ~SvxRectCtlAccessibleContext() override; public: // XAccessible virtual css::uno::Reference< css::accessibility::XAccessibleContext> SAL_CALL @@ -308,7 +308,7 @@ public: const Rectangle& rBoundingBox, long nIndexInParent ); protected: - virtual ~SvxRectCtlChildAccessibleContext(); + virtual ~SvxRectCtlChildAccessibleContext() override; public: // XAccessible virtual css::uno::Reference< css::accessibility::XAccessibleContext> SAL_CALL diff --git a/svx/source/inc/tabwin.hxx b/svx/source/inc/tabwin.hxx index 07b09e00b6de..5a4278e493d3 100644 --- a/svx/source/inc/tabwin.hxx +++ b/svx/source/inc/tabwin.hxx @@ -42,7 +42,7 @@ protected: public: FmFieldWinListBox( FmFieldWin* pParent ); - virtual ~FmFieldWinListBox(); + virtual ~FmFieldWinListBox() override; virtual void dispose() override; sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ) override; @@ -80,7 +80,7 @@ public: FmFieldWin(SfxBindings *pBindings, SfxChildWindow *pMgr, vcl::Window* pParent); - virtual ~FmFieldWin(); + virtual ~FmFieldWin() override; virtual void dispose() override; virtual void Resize() override; using SfxFloatingWindow::Close; diff --git a/svx/source/inc/tbxform.hxx b/svx/source/inc/tbxform.hxx index 831cdb1b69f3..369af519a41d 100644 --- a/svx/source/inc/tbxform.hxx +++ b/svx/source/inc/tbxform.hxx @@ -48,7 +48,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxFmTbxCtlAbsRec( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - virtual ~SvxFmTbxCtlAbsRec(); + virtual ~SvxFmTbxCtlAbsRec() override; virtual VclPtr<vcl::Window> CreateItemWindow( vcl::Window* pParent ) override; @@ -63,7 +63,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxFmTbxCtlRecText( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - virtual ~SvxFmTbxCtlRecText(); + virtual ~SvxFmTbxCtlRecText() override; virtual VclPtr<vcl::Window> CreateItemWindow( vcl::Window* pParent ) override; }; @@ -75,7 +75,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxFmTbxCtlRecFromText( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - virtual ~SvxFmTbxCtlRecFromText(); + virtual ~SvxFmTbxCtlRecFromText() override; virtual VclPtr<vcl::Window> CreateItemWindow( vcl::Window* pParent ) override; }; @@ -89,7 +89,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxFmTbxCtlRecTotal( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - virtual ~SvxFmTbxCtlRecTotal(); + virtual ~SvxFmTbxCtlRecTotal() override; virtual VclPtr<vcl::Window> CreateItemWindow( vcl::Window* pParent ) override; virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, diff --git a/svx/source/inc/unogalthemeprovider.hxx b/svx/source/inc/unogalthemeprovider.hxx index 26311cc3f4a8..0983c4188bbc 100644 --- a/svx/source/inc/unogalthemeprovider.hxx +++ b/svx/source/inc/unogalthemeprovider.hxx @@ -36,7 +36,7 @@ class GalleryThemeProvider : public ::cppu::WeakImplHelper< css::lang::XInitiali public: GalleryThemeProvider(); - virtual ~GalleryThemeProvider(); + virtual ~GalleryThemeProvider() override; protected: diff --git a/svx/source/inc/xmlxtexp.hxx b/svx/source/inc/xmlxtexp.hxx index 7d5b60df3522..1152769ee7a9 100644 --- a/svx/source/inc/xmlxtexp.hxx +++ b/svx/source/inc/xmlxtexp.hxx @@ -41,7 +41,7 @@ public: const css::uno::Reference< css::container::XNameContainer > & xTable, css::uno::Reference< css::document::XGraphicObjectResolver >& xGrfResolver); - virtual ~SvxXMLXTableExportComponent(); + virtual ~SvxXMLXTableExportComponent() override; static bool save( const OUString& rURL, const css::uno::Reference< css::container::XNameContainer >& xTable, diff --git a/svx/source/inc/xmlxtimp.hxx b/svx/source/inc/xmlxtimp.hxx index 3a8ce799fb99..0d99a646a298 100644 --- a/svx/source/inc/xmlxtimp.hxx +++ b/svx/source/inc/xmlxtimp.hxx @@ -38,7 +38,7 @@ public: const css::uno::Reference< css::container::XNameContainer > & rTable, css::uno::Reference< css::document::XGraphicObjectResolver >& rGrfResolver); - virtual ~SvxXMLXTableImport() throw (); + virtual ~SvxXMLXTableImport() throw () override; static bool load( const OUString &rPath, const OUString &rReferer, const css::uno::Reference < css::embed::XStorage > &xStorage, diff --git a/svx/source/mnuctrls/smarttagmenu.cxx b/svx/source/mnuctrls/smarttagmenu.cxx index f45fa91dc7ec..aaa99f0d8630 100644 --- a/svx/source/mnuctrls/smarttagmenu.cxx +++ b/svx/source/mnuctrls/smarttagmenu.cxx @@ -28,7 +28,7 @@ class SmartTagMenuController : public svt::PopupMenuControllerBase { public: explicit SmartTagMenuController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~SmartTagMenuController(); + virtual ~SmartTagMenuController() override; // XStatusListener virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& rEvent ) throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/svx/source/sdr/contact/sdrmediawindow.hxx b/svx/source/sdr/contact/sdrmediawindow.hxx index a92c407965f0..4fc9d6e175b6 100644 --- a/svx/source/sdr/contact/sdrmediawindow.hxx +++ b/svx/source/sdr/contact/sdrmediawindow.hxx @@ -32,7 +32,7 @@ class SdrMediaWindow : public ::avmedia::MediaWindow public: SdrMediaWindow( vcl::Window* pParent, ViewObjectContactOfSdrMediaObj& rViewObjContact ); - virtual ~SdrMediaWindow(); + virtual ~SdrMediaWindow() override; virtual void MouseMove( const MouseEvent& rMEvt ) override; virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; diff --git a/svx/source/sdr/contact/viewobjectcontact.cxx b/svx/source/sdr/contact/viewobjectcontact.cxx index 230a2940577b..af86f2d4079d 100644 --- a/svx/source/sdr/contact/viewobjectcontact.cxx +++ b/svx/source/sdr/contact/viewobjectcontact.cxx @@ -73,7 +73,7 @@ public: const drawinglayer::geometry::ViewInformation2D& rViewInformation, bool bTextAnimationAllowed, bool bGraphicAnimationAllowed); - virtual ~AnimatedExtractingProcessor2D(); + virtual ~AnimatedExtractingProcessor2D() override; // data access const drawinglayer::primitive2d::Primitive2DContainer& getPrimitive2DSequence() const { return maPrimitive2DSequence; } diff --git a/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx b/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx index fa5028ae566f..3b42c3837ebe 100644 --- a/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx @@ -40,7 +40,7 @@ namespace sdr AsynchGraphicLoadingEvent(TimerEventHandler& rEventHandler, sdr::contact::ViewObjectContactOfGraphic& rVOCOfGraphic); // destructor - virtual ~AsynchGraphicLoadingEvent(); + virtual ~AsynchGraphicLoadingEvent() override; // the called method if the event is triggered virtual void ExecuteEvent() override; diff --git a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx index 09ea52169dcb..4827c3d1ce72 100644 --- a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx @@ -46,7 +46,7 @@ private: public: // basic constructor/destructor explicit PagePrimitiveExtractor(ViewObjectContactOfPageObj& rVOC); - virtual ~PagePrimitiveExtractor(); + virtual ~PagePrimitiveExtractor() override; // LazyInvalidate request. Supported here to not automatically // invalidate the second interaction state all the time at the diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx index baaf6ae6798e..44c559d62fca 100644 --- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx @@ -618,7 +618,7 @@ namespace sdr { namespace contact { } protected: - virtual ~ViewObjectContactOfUnoControl_Impl(); + virtual ~ViewObjectContactOfUnoControl_Impl() override; // XEventListener virtual void SAL_CALL disposing( const EventObject& Source ) throw(RuntimeException, std::exception) override; diff --git a/svx/source/sidebar/EmptyPanel.hxx b/svx/source/sidebar/EmptyPanel.hxx index 06221a9d5de7..3fcd07e5910e 100644 --- a/svx/source/sidebar/EmptyPanel.hxx +++ b/svx/source/sidebar/EmptyPanel.hxx @@ -35,7 +35,7 @@ class EmptyPanel { public: explicit EmptyPanel (vcl::Window* pParent); - virtual ~EmptyPanel(); + virtual ~EmptyPanel() override; virtual void dispose() override; virtual void Resize() override; diff --git a/svx/source/sidebar/PanelFactory.cxx b/svx/source/sidebar/PanelFactory.cxx index 97817e0283fb..574145b8c43b 100644 --- a/svx/source/sidebar/PanelFactory.cxx +++ b/svx/source/sidebar/PanelFactory.cxx @@ -65,7 +65,7 @@ class PanelFactory { public: PanelFactory(); - virtual ~PanelFactory(); + virtual ~PanelFactory() override; PanelFactory(const PanelFactory&) = delete; PanelFactory& operator=(const PanelFactory&) = delete; diff --git a/svx/source/sidebar/area/AreaPropertyPanel.hxx b/svx/source/sidebar/area/AreaPropertyPanel.hxx index f8fc55faeeb3..458ace7ce6c4 100644 --- a/svx/source/sidebar/area/AreaPropertyPanel.hxx +++ b/svx/source/sidebar/area/AreaPropertyPanel.hxx @@ -66,7 +66,7 @@ public: const css::uno::Reference<css::frame::XFrame>& rxFrame, SfxBindings* pBindings); - virtual ~AreaPropertyPanel(); + virtual ~AreaPropertyPanel() override; virtual void setFillTransparence(const XFillTransparenceItem& rItem) override; virtual void setFillFloatTransparence(const XFillFloatTransparenceItem& rItem) override; diff --git a/svx/source/sidebar/area/AreaTransparencyGradientControl.hxx b/svx/source/sidebar/area/AreaTransparencyGradientControl.hxx index bf900d9ae56d..04b6b6d67b17 100644 --- a/svx/source/sidebar/area/AreaTransparencyGradientControl.hxx +++ b/svx/source/sidebar/area/AreaTransparencyGradientControl.hxx @@ -41,7 +41,7 @@ public: AreaTransparencyGradientControl ( vcl::Window* pParent, AreaPropertyPanelBase& rPanel); - virtual ~AreaTransparencyGradientControl(); + virtual ~AreaTransparencyGradientControl() override; virtual void dispose() override; void Rearrange(XFillFloatTransparenceItem* pGradientItem); diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx index 4555b7d9177e..dfdc375804da 100644 --- a/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx +++ b/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx @@ -38,7 +38,7 @@ class GraphicPropertyPanel public ::sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface { public: - virtual ~GraphicPropertyPanel(); + virtual ~GraphicPropertyPanel() override; virtual void dispose() override; static VclPtr<vcl::Window> Create( diff --git a/svx/source/sidebar/line/LinePropertyPanel.hxx b/svx/source/sidebar/line/LinePropertyPanel.hxx index 19b2cdd5f937..4d6531ad5bc4 100644 --- a/svx/source/sidebar/line/LinePropertyPanel.hxx +++ b/svx/source/sidebar/line/LinePropertyPanel.hxx @@ -62,7 +62,7 @@ class LinePropertyPanel : public LinePropertyPanelBase, public sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface { public: - virtual ~LinePropertyPanel(); + virtual ~LinePropertyPanel() override; virtual void dispose() override; static VclPtr<vcl::Window> Create( diff --git a/svx/source/sidebar/line/LineWidthValueSet.hxx b/svx/source/sidebar/line/LineWidthValueSet.hxx index ca7e1041dcbf..f2747d5311ea 100644 --- a/svx/source/sidebar/line/LineWidthValueSet.hxx +++ b/svx/source/sidebar/line/LineWidthValueSet.hxx @@ -29,7 +29,7 @@ class LineWidthValueSet { public: explicit LineWidthValueSet(vcl::Window* pParent); - virtual ~LineWidthValueSet(); + virtual ~LineWidthValueSet() override; virtual void dispose() override; void SetUnit(OUString* str); diff --git a/svx/source/sidebar/media/MediaPlaybackPanel.hxx b/svx/source/sidebar/media/MediaPlaybackPanel.hxx index 0a4bd5ebf441..4ba851b2333c 100644 --- a/svx/source/sidebar/media/MediaPlaybackPanel.hxx +++ b/svx/source/sidebar/media/MediaPlaybackPanel.hxx @@ -53,7 +53,7 @@ public: vcl::Window* pParent, const css::uno::Reference<css::frame::XFrame>& rxFrame, SfxBindings* pBindings); - virtual ~MediaPlaybackPanel(); + virtual ~MediaPlaybackPanel() override; virtual void dispose() override; protected: diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx b/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx index c804cc92ea2f..e0df457776be 100644 --- a/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx +++ b/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx @@ -31,7 +31,7 @@ class ParaLineSpacingControl : public SfxPopupWindow { public: explicit ParaLineSpacingControl(sal_uInt16 nId); - virtual ~ParaLineSpacingControl(); + virtual ~ParaLineSpacingControl() override; virtual void dispose() override; private: diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx index 90411f4e913b..fabb1cb62865 100644 --- a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx +++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx @@ -43,7 +43,7 @@ class ParaPropertyPanel public ::sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface { public: - virtual ~ParaPropertyPanel(); + virtual ~ParaPropertyPanel() override; virtual void dispose() override; static VclPtr<vcl::Window> Create ( diff --git a/svx/source/sidebar/paragraph/ParaSpacingWindow.hxx b/svx/source/sidebar/paragraph/ParaSpacingWindow.hxx index d0a16d5701b9..b396cd50b74f 100644 --- a/svx/source/sidebar/paragraph/ParaSpacingWindow.hxx +++ b/svx/source/sidebar/paragraph/ParaSpacingWindow.hxx @@ -39,7 +39,7 @@ class ParaULSpacingWindow : public VclVBox, { public: explicit ParaULSpacingWindow(vcl::Window* pParent, css::uno::Reference<css::frame::XFrame>& xFrame); - virtual ~ParaULSpacingWindow(); + virtual ~ParaULSpacingWindow() override; virtual void dispose() override; void SetValue(const SvxULSpaceItem* pItem); @@ -59,7 +59,7 @@ class ParaLRSpacingWindow : public VclVBox, { public: explicit ParaLRSpacingWindow(vcl::Window* pParent, css::uno::Reference<css::frame::XFrame>& xFrame); - virtual ~ParaLRSpacingWindow(); + virtual ~ParaLRSpacingWindow() override; virtual void dispose() override; void SetValue(SfxItemState eState, const SfxPoolItem* pState); diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx index f514df21d7f5..9501c11987f0 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx @@ -52,7 +52,7 @@ class PosSizePropertyPanel public ::sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface { public: - virtual ~PosSizePropertyPanel(); + virtual ~PosSizePropertyPanel() override; virtual void dispose() override; static VclPtr<vcl::Window> Create( diff --git a/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx b/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx index 23f5cbaae7d1..b4b5f4fcedd5 100644 --- a/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx +++ b/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx @@ -33,7 +33,7 @@ class ShadowPropertyPanel public ::sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface { public: - virtual ~ShadowPropertyPanel(); + virtual ~ShadowPropertyPanel() override; virtual void dispose() override; static VclPtr<vcl::Window> Create( diff --git a/svx/source/sidebar/shapes/DefaultShapesPanel.hxx b/svx/source/sidebar/shapes/DefaultShapesPanel.hxx index 5da2f184a845..6a57eb3af0db 100644 --- a/svx/source/sidebar/shapes/DefaultShapesPanel.hxx +++ b/svx/source/sidebar/shapes/DefaultShapesPanel.hxx @@ -46,7 +46,7 @@ public: static VclPtr<vcl::Window> Create( vcl::Window* pParent, const css::uno::Reference<css::frame::XFrame>& rxFrame); - virtual ~DefaultShapesPanel(); + virtual ~DefaultShapesPanel() override; virtual void dispose() override; private: diff --git a/svx/source/sidebar/styles/StylesPropertyPanel.hxx b/svx/source/sidebar/styles/StylesPropertyPanel.hxx index dcbd210086ad..c38ae0754f1b 100644 --- a/svx/source/sidebar/styles/StylesPropertyPanel.hxx +++ b/svx/source/sidebar/styles/StylesPropertyPanel.hxx @@ -19,7 +19,7 @@ class StylesPropertyPanel: public PanelLayout { public: - virtual ~StylesPropertyPanel(); + virtual ~StylesPropertyPanel() override; static VclPtr<vcl::Window> Create ( vcl::Window* pParent, diff --git a/svx/source/sidebar/text/TextCharacterSpacingControl.hxx b/svx/source/sidebar/text/TextCharacterSpacingControl.hxx index 76df39d9ca23..7e4893b81323 100644 --- a/svx/source/sidebar/text/TextCharacterSpacingControl.hxx +++ b/svx/source/sidebar/text/TextCharacterSpacingControl.hxx @@ -36,7 +36,7 @@ class TextCharacterSpacingControl : public SfxPopupWindow { public: explicit TextCharacterSpacingControl(sal_uInt16 nId); - virtual ~TextCharacterSpacingControl(); + virtual ~TextCharacterSpacingControl() override; virtual void dispose() override; short GetLastCustomState() { return mnLastCus;} diff --git a/svx/source/sidebar/text/TextPropertyPanel.hxx b/svx/source/sidebar/text/TextPropertyPanel.hxx index a61ea40e9962..d005ac740e82 100644 --- a/svx/source/sidebar/text/TextPropertyPanel.hxx +++ b/svx/source/sidebar/text/TextPropertyPanel.hxx @@ -44,7 +44,7 @@ class TextPropertyPanel public ::sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface { public: - virtual ~TextPropertyPanel(); + virtual ~TextPropertyPanel() override; virtual void dispose() override; static VclPtr<vcl::Window> Create ( diff --git a/svx/source/sidebar/text/TextUnderlineControl.hxx b/svx/source/sidebar/text/TextUnderlineControl.hxx index 333f039eaf15..7e82602a03fc 100644 --- a/svx/source/sidebar/text/TextUnderlineControl.hxx +++ b/svx/source/sidebar/text/TextUnderlineControl.hxx @@ -33,7 +33,7 @@ class TextUnderlineControl : public SfxPopupWindow { public: explicit TextUnderlineControl(sal_uInt16 nId); - virtual ~TextUnderlineControl(); + virtual ~TextUnderlineControl() override; virtual void dispose() override; private: diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx index 3a989743838a..51e6f475e32f 100644 --- a/svx/source/svdraw/svdibrow.cxx +++ b/svx/source/svdraw/svdibrow.cxx @@ -170,7 +170,7 @@ public: : Edit(pParent, nBits), pBrowse(pBrowse_) {} - virtual ~ImpItemEdit() { disposeOnce(); } + virtual ~ImpItemEdit() override { disposeOnce(); } virtual void dispose() override { pBrowse.clear(); Edit::dispose(); } virtual void KeyInput(const KeyEvent& rEvt) override; }; diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index c2b40aca0f57..656d17c68260 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -112,7 +112,7 @@ class SdrGraphicLink : public sfx2::SvBaseLink public: explicit SdrGraphicLink(SdrGrafObj& rObj); - virtual ~SdrGraphicLink(); + virtual ~SdrGraphicLink() override; virtual void Closed() override; @@ -131,7 +131,7 @@ class SdrGraphicUpdater : public ::osl::Thread { public: SdrGraphicUpdater( const OUString& rFileName, const OUString& rFilterName, SdrGraphicLink& ); - virtual ~SdrGraphicUpdater(); + virtual ~SdrGraphicUpdater() override; void SAL_CALL Terminate(); diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx index 793ecdb29b30..4bc6459ae437 100644 --- a/svx/source/svdraw/svdoole2.cxx +++ b/svx/source/svdraw/svdoole2.cxx @@ -575,7 +575,7 @@ class SdrEmbedObjectLink : public sfx2::SvBaseLink public: explicit SdrEmbedObjectLink(SdrOle2Obj* pObj); - virtual ~SdrEmbedObjectLink(); + virtual ~SdrEmbedObjectLink() override; virtual void Closed() override; virtual ::sfx2::SvBaseLink::UpdateResult DataChanged( diff --git a/svx/source/svdraw/svdotxln.cxx b/svx/source/svdraw/svdotxln.cxx index b6846dbd81d3..37ded6fc972f 100644 --- a/svx/source/svdraw/svdotxln.cxx +++ b/svx/source/svdraw/svdotxln.cxx @@ -44,7 +44,7 @@ public: : ::sfx2::SvBaseLink( ::SfxLinkUpdateMode::ONCALL, SotClipboardFormatId::SIMPLE_FILE ), pSdrObj( pObj1 ) {} - virtual ~ImpSdrObjTextLink(); + virtual ~ImpSdrObjTextLink() override; virtual void Closed() override; virtual ::sfx2::SvBaseLink::UpdateResult DataChanged( diff --git a/svx/source/table/accessiblecell.hxx b/svx/source/table/accessiblecell.hxx index d001ef3130b5..6aecc113912b 100644 --- a/svx/source/table/accessiblecell.hxx +++ b/svx/source/table/accessiblecell.hxx @@ -52,7 +52,7 @@ class AccessibleCell : public AccessibleCellBase { public: AccessibleCell( const css::uno::Reference< css::accessibility::XAccessible>& rxParent, const sdr::table::CellRef& rCell, sal_Int32 nIndex, const AccessibleShapeTreeInfo& rShapeTreeInfo); - virtual ~AccessibleCell(); + virtual ~AccessibleCell() override; AccessibleCell(const AccessibleCell&) = delete; AccessibleCell& operator=(const AccessibleCell&) = delete; diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index 5d43b9af4b39..5f1f1db9dcfe 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -160,7 +160,7 @@ namespace sdr CellProperties(const CellProperties& rProps, SdrObject& rObj, sdr::table::Cell* pCell); // destructor - virtual ~CellProperties(); + virtual ~CellProperties() override; // Clone() operator, normally just calls the local copy constructor BaseProperties& Clone(SdrObject& rObj) const override; diff --git a/svx/source/table/cell.hxx b/svx/source/table/cell.hxx index 55e5ab738761..33e57b433acb 100644 --- a/svx/source/table/cell.hxx +++ b/svx/source/table/cell.hxx @@ -204,7 +204,7 @@ protected: private: SVX_DLLPRIVATE Cell( SdrTableObj& rTableObj, OutlinerParaObject* pOutlinerParaObject ) throw(css::uno::RuntimeException); - SVX_DLLPRIVATE virtual ~Cell() throw(); + SVX_DLLPRIVATE virtual ~Cell() throw() override; Cell(Cell const &) = delete; void operator =(Cell const &) = delete; diff --git a/svx/source/table/cellcursor.hxx b/svx/source/table/cellcursor.hxx index 2c4430a35255..6a4c301b45cc 100644 --- a/svx/source/table/cellcursor.hxx +++ b/svx/source/table/cellcursor.hxx @@ -36,7 +36,7 @@ class CellCursor : public CellCursorBase { public: CellCursor( const TableModelRef& xTableModel, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ); - virtual ~CellCursor(); + virtual ~CellCursor() override; // XCellRange virtual css::uno::Reference< css::table::XCell > SAL_CALL getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override; diff --git a/svx/source/table/cellrange.hxx b/svx/source/table/cellrange.hxx index 8f76b6f96752..519729c7b608 100644 --- a/svx/source/table/cellrange.hxx +++ b/svx/source/table/cellrange.hxx @@ -32,7 +32,7 @@ class CellRange : public ::cppu::WeakAggImplHelper1< css::table::XCellRange >, p { public: CellRange( const TableModelRef & xTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ); - virtual ~CellRange(); + virtual ~CellRange() override; // ICellRange virtual sal_Int32 getLeft() override; diff --git a/svx/source/table/propertyset.hxx b/svx/source/table/propertyset.hxx index 3649d2845597..b84125db7206 100644 --- a/svx/source/table/propertyset.hxx +++ b/svx/source/table/propertyset.hxx @@ -40,7 +40,7 @@ class FastPropertySetInfo : public ::cppu::WeakAggImplHelper1< css::beans::XProp { public: explicit FastPropertySetInfo( const PropertyVector& rProps ); - virtual ~FastPropertySetInfo(); + virtual ~FastPropertySetInfo() override; void addProperties( const PropertyVector& rProps ); @@ -62,7 +62,7 @@ class FastPropertySet : public ::cppu::WeakAggImplHelper3< css::beans::XPropert { public: explicit FastPropertySet( const rtl::Reference< FastPropertySetInfo >& xInfo ); - virtual ~FastPropertySet(); + virtual ~FastPropertySet() override; // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 1f11ef2725e8..e4e3087010cc 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -95,7 +95,7 @@ public: TableProperties(const TableProperties& rProps, SdrObject& rObj ); // destructor - virtual ~TableProperties(); + virtual ~TableProperties() override; // Clone() operator, normally just calls the local copy constructor BaseProperties& Clone(SdrObject& rObj) const override; @@ -216,7 +216,7 @@ public: void UpdateCells( Rectangle& rArea ); SdrTableObjImpl(); - virtual ~SdrTableObjImpl(); + virtual ~SdrTableObjImpl() override; void init( SdrTableObj* pTable, sal_Int32 nColumns, sal_Int32 nRows ); void dispose(); diff --git a/svx/source/table/tablecolumn.hxx b/svx/source/table/tablecolumn.hxx index 320b38431b09..8597e0676f70 100644 --- a/svx/source/table/tablecolumn.hxx +++ b/svx/source/table/tablecolumn.hxx @@ -38,7 +38,7 @@ class TableColumn : public TableColumnBase friend class TableModel; public: TableColumn( const TableModelRef& xTableModel, sal_Int32 nColumn ); - virtual ~TableColumn(); + virtual ~TableColumn() override; void dispose(); void throwIfDisposed() const throw (css::uno::RuntimeException); diff --git a/svx/source/table/tablecolumns.hxx b/svx/source/table/tablecolumns.hxx index 0da242abd16a..fdc9973d1b30 100644 --- a/svx/source/table/tablecolumns.hxx +++ b/svx/source/table/tablecolumns.hxx @@ -32,7 +32,7 @@ class TableColumns : public ::cppu::WeakAggImplHelper1< css::table::XTableColumn { public: explicit TableColumns( const TableModelRef& xTableModel ); - virtual ~TableColumns(); + virtual ~TableColumns() override; void dispose(); void throwIfDisposed() const throw (css::uno::RuntimeException); diff --git a/svx/source/table/tablehandles.cxx b/svx/source/table/tablehandles.cxx index d369ed866380..cae87f76ad05 100644 --- a/svx/source/table/tablehandles.cxx +++ b/svx/source/table/tablehandles.cxx @@ -52,7 +52,7 @@ protected: public: OverlayTableEdge( const basegfx::B2DPolyPolygon& rPolyPolygon, bool bVisible ); - virtual ~OverlayTableEdge(); + virtual ~OverlayTableEdge() override; }; diff --git a/svx/source/table/tablemodel.hxx b/svx/source/table/tablemodel.hxx index 336f0d7d2c28..faafccd6d3fe 100644 --- a/svx/source/table/tablemodel.hxx +++ b/svx/source/table/tablemodel.hxx @@ -71,7 +71,7 @@ class TableModel : public ::cppu::BaseMutex, public: explicit TableModel( SdrTableObj* pTableObj ); TableModel( SdrTableObj* pTableObj, const TableModelRef& xSourceTable ); - virtual ~TableModel(); + virtual ~TableModel() override; void init( sal_Int32 nColumns, sal_Int32 nRows ); diff --git a/svx/source/table/tablerow.hxx b/svx/source/table/tablerow.hxx index b857b66ed170..ba8df5bc75bf 100644 --- a/svx/source/table/tablerow.hxx +++ b/svx/source/table/tablerow.hxx @@ -38,7 +38,7 @@ class TableRow : public TableRowBase friend class TableRowUndo; public: TableRow( const TableModelRef& xTableModel, sal_Int32 nRow, sal_Int32 nColumns ); - virtual ~TableRow(); + virtual ~TableRow() override; void dispose(); void throwIfDisposed() const throw (css::uno::RuntimeException); diff --git a/svx/source/table/tablerows.hxx b/svx/source/table/tablerows.hxx index a9b6fc19e8c6..000d2a21f6cf 100644 --- a/svx/source/table/tablerows.hxx +++ b/svx/source/table/tablerows.hxx @@ -32,7 +32,7 @@ class TableRows : public ::cppu::WeakAggImplHelper1< css::table::XTableRows > { public: explicit TableRows( const TableModelRef& xTableModel ); - virtual ~TableRows(); + virtual ~TableRows() override; void dispose(); void throwIfDisposed() const throw (css::uno::RuntimeException); diff --git a/svx/source/table/tableundo.hxx b/svx/source/table/tableundo.hxx index 36e5158534ed..608643ec1ea5 100644 --- a/svx/source/table/tableundo.hxx +++ b/svx/source/table/tableundo.hxx @@ -43,7 +43,7 @@ class CellUndo : public SdrUndoAction, public sdr::ObjectUser { public: CellUndo( const SdrObjectWeakRef& xObjRef, const CellRef& xCell ); - virtual ~CellUndo(); + virtual ~CellUndo() override; virtual void Undo() override; virtual void Redo() override; @@ -95,7 +95,7 @@ class InsertRowUndo : public SdrUndoAction { public: InsertRowUndo( const TableModelRef& xTable, sal_Int32 nIndex, RowVector& aNewRows ); - virtual ~InsertRowUndo(); + virtual ~InsertRowUndo() override; virtual void Undo() override; virtual void Redo() override; @@ -112,7 +112,7 @@ class RemoveRowUndo : public SdrUndoAction { public: RemoveRowUndo( const TableModelRef& xTable, sal_Int32 nIndex, RowVector& aRemovedRows ); - virtual ~RemoveRowUndo(); + virtual ~RemoveRowUndo() override; virtual void Undo() override; virtual void Redo() override; @@ -129,7 +129,7 @@ class InsertColUndo : public SdrUndoAction { public: InsertColUndo( const TableModelRef& xTable, sal_Int32 nIndex, ColumnVector& aNewCols, CellVector& aCells ); - virtual ~InsertColUndo(); + virtual ~InsertColUndo() override; virtual void Undo() override; virtual void Redo() override; @@ -147,7 +147,7 @@ class RemoveColUndo : public SdrUndoAction { public: RemoveColUndo( const TableModelRef& xTable, sal_Int32 nIndex, ColumnVector& aNewCols, CellVector& aCells ); - virtual ~RemoveColUndo(); + virtual ~RemoveColUndo() override; virtual void Undo() override; virtual void Redo() override; @@ -165,7 +165,7 @@ class TableColumnUndo : public SdrUndoAction { public: explicit TableColumnUndo( const TableColumnRef& xCol ); - virtual ~TableColumnUndo(); + virtual ~TableColumnUndo() override; virtual void Undo() override; virtual void Redo() override; @@ -205,7 +205,7 @@ class TableRowUndo : public SdrUndoAction { public: explicit TableRowUndo( const TableRowRef& xRow ); - virtual ~TableRowUndo(); + virtual ~TableRowUndo() override; virtual void Undo() override; virtual void Redo() override; diff --git a/svx/source/table/viewcontactoftableobj.hxx b/svx/source/table/viewcontactoftableobj.hxx index 9f247bf64cd5..a0581e2afb3d 100644 --- a/svx/source/table/viewcontactoftableobj.hxx +++ b/svx/source/table/viewcontactoftableobj.hxx @@ -43,7 +43,7 @@ namespace sdr public: // basic constructor, used from SdrObject. explicit ViewContactOfTableObj(sdr::table::SdrTableObj& rTextObj); - virtual ~ViewContactOfTableObj(); + virtual ~ViewContactOfTableObj() override; }; } // end of namespace contact } // end of namespace sdr diff --git a/svx/source/tbxctrls/bulletsnumbering.cxx b/svx/source/tbxctrls/bulletsnumbering.cxx index 92896cc74081..4a4df8f7a84d 100644 --- a/svx/source/tbxctrls/bulletsnumbering.cxx +++ b/svx/source/tbxctrls/bulletsnumbering.cxx @@ -35,7 +35,7 @@ public: NumberingPopup( NumberingToolBoxControl& rController, const css::uno::Reference< css::frame::XFrame >& rFrame, vcl::Window* pParent, NumberingPageType ePageType ); - virtual ~NumberingPopup(); + virtual ~NumberingPopup() override; virtual void dispose() override; virtual void statusChanged( const css::frame::FeatureStateEvent& rEvent ) diff --git a/svx/source/tbxctrls/colorwindow.hxx b/svx/source/tbxctrls/colorwindow.hxx index 185872e55c3c..cb472bba7d20 100644 --- a/svx/source/tbxctrls/colorwindow.hxx +++ b/svx/source/tbxctrls/colorwindow.hxx @@ -71,7 +71,7 @@ public: const OUString& rWndTitle, vcl::Window* pParentWindow, std::function<void(const OUString&, const Color&)> const & maColorSelectFunction); - virtual ~SvxColorWindow_Impl(); + virtual ~SvxColorWindow_Impl() override; virtual void dispose() override; void StartSelection(); diff --git a/svx/source/tbxctrls/extrusioncontrols.hxx b/svx/source/tbxctrls/extrusioncontrols.hxx index 62c1aa091894..c055403ca056 100644 --- a/svx/source/tbxctrls/extrusioncontrols.hxx +++ b/svx/source/tbxctrls/extrusioncontrols.hxx @@ -40,7 +40,7 @@ class ExtrusionDirectionWindow : public svtools::ToolbarMenu { public: ExtrusionDirectionWindow( svt::ToolboxController& rController, const css::uno::Reference< css::frame::XFrame >& rFrame, vcl::Window* pParentWindow ); - virtual ~ExtrusionDirectionWindow(); + virtual ~ExtrusionDirectionWindow() override; virtual void dispose() override; virtual void statusChanged( const css::frame::FeatureStateEvent& Event ) throw ( css::uno::RuntimeException ) override; @@ -157,7 +157,7 @@ private: void SelectHdl(void*); public: ExtrusionLightingWindow( svt::ToolboxController& rController, const css::uno::Reference< css::frame::XFrame >& rFrame, vcl::Window* pParentWindow ); - virtual ~ExtrusionLightingWindow(); + virtual ~ExtrusionLightingWindow() override; virtual void dispose() override; virtual void statusChanged( const css::frame::FeatureStateEvent& Event ) throw ( css::uno::RuntimeException ) override; diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx index 36191d062473..7c066c8d0bfc 100644 --- a/svx/source/tbxctrls/grafctrl.cxx +++ b/svx/source/tbxctrls/grafctrl.cxx @@ -230,7 +230,7 @@ protected: public: ImplGrafControl( vcl::Window* pParent, const OUString& rCmd, const Reference< XFrame >& rFrame ); - virtual ~ImplGrafControl(); + virtual ~ImplGrafControl() override; virtual void dispose() override; void Update( const SfxPoolItem* pItem ) { maField->Update( pItem ); } diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx index 102652f87cc5..8a4becca15a5 100644 --- a/svx/source/tbxctrls/layctrl.cxx +++ b/svx/source/tbxctrls/layctrl.cxx @@ -75,7 +75,7 @@ public: const OUString& rCmd, const OUString& rText, const Reference< XFrame >& rFrame ); - virtual ~TableWindow(); + virtual ~TableWindow() override; virtual void dispose() override; void KeyInput( const KeyEvent& rKEvt ) override; diff --git a/svx/source/tbxctrls/lboxctrl.cxx b/svx/source/tbxctrls/lboxctrl.cxx index d0e43ab67581..96e44e014a12 100644 --- a/svx/source/tbxctrls/lboxctrl.cxx +++ b/svx/source/tbxctrls/lboxctrl.cxx @@ -60,7 +60,7 @@ class SvxPopupWindowListBox: public SfxPopupWindow public: SvxPopupWindowListBox( sal_uInt16 nSlotId, const OUString& rCommandURL, sal_uInt16 nTbxId, ToolBox& rTbx ); - virtual ~SvxPopupWindowListBox(); + virtual ~SvxPopupWindowListBox() override; virtual void dispose() override; // SfxPopupWindow diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index a1aa174a6e91..56f71174d447 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -127,7 +127,7 @@ class SvxStyleBox_Impl : public ComboBox public: SvxStyleBox_Impl( vcl::Window* pParent, const OUString& rCommand, SfxStyleFamily eFamily, const Reference< XDispatchProvider >& rDispatchProvider, const Reference< XFrame >& _xFrame,const OUString& rClearFormatKey, const OUString& rMoreKey, bool bInSpecialMode ); - virtual ~SvxStyleBox_Impl(); + virtual ~SvxStyleBox_Impl() override; virtual void dispose() override; void SetFamily( SfxStyleFamily eNewFamily ); @@ -213,7 +213,7 @@ public: SvxFontNameBox_Impl( vcl::Window* pParent, const Reference< XDispatchProvider >& rDispatchProvider,const Reference< XFrame >& _xFrame , WinBits nStyle = WB_SORT ); - virtual ~SvxFontNameBox_Impl(); + virtual ~SvxFontNameBox_Impl() override; virtual void dispose() override; void FillList(); @@ -265,7 +265,7 @@ protected: public: SvxFrameWindow_Impl( sal_uInt16 nId, const Reference< XFrame >& rFrame, vcl::Window* pParentWindow ); - virtual ~SvxFrameWindow_Impl(); + virtual ~SvxFrameWindow_Impl() override; virtual void dispose() override; void StartSelection(); @@ -288,7 +288,7 @@ protected: virtual void GetFocus() override; public: SvxLineWindow_Impl( sal_uInt16 nId, const Reference< XFrame >& rFrame, vcl::Window* pParentWindow ); - virtual ~SvxLineWindow_Impl() { disposeOnce(); } + virtual ~SvxLineWindow_Impl() override { disposeOnce(); } virtual void dispose() override { m_aLineStyleLb.disposeAndClear(); SfxPopupWindow::dispose(); } }; @@ -312,7 +312,7 @@ public: SvxCurrencyToolBoxControl *pControl, OUString& rSelectFormat, LanguageType& eSelectLanguage ); - virtual ~SvxCurrencyList_Impl() { disposeOnce(); } + virtual ~SvxCurrencyList_Impl() override { disposeOnce(); } virtual void dispose() override; }; diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx index 8a3e502935a0..ff9bb9e1c55b 100644 --- a/svx/source/tbxctrls/tbunocontroller.cxx +++ b/svx/source/tbxctrls/tbunocontroller.cxx @@ -49,7 +49,7 @@ class FontHeightToolBoxControl : public svt::ToolboxController, public: explicit FontHeightToolBoxControl( const css::uno::Reference< css::uno::XComponentContext >& rServiceManager ); - virtual ~FontHeightToolBoxControl(); + virtual ~FontHeightToolBoxControl() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx index 09de3f803e91..eac4a01881f9 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx @@ -55,7 +55,7 @@ class DictionaryList : public SvSimpleTable { public: DictionaryList(SvSimpleTableContainer& rParent, WinBits nBits); - virtual ~DictionaryList(); + virtual ~DictionaryList() override; virtual void dispose() override; void init(const css::uno::Reference< css::linguistic2::XConversionDictionary>& xDictionary, @@ -108,7 +108,7 @@ class ChineseDictionaryDialog : public ModalDialog { public: explicit ChineseDictionaryDialog( vcl::Window* pParent ); - virtual ~ChineseDictionaryDialog(); + virtual ~ChineseDictionaryDialog() override; virtual void dispose() override; //this method should be called once before calling execute diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx index 6687cc4ce8a0..ce4d2bb1a259 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx @@ -69,7 +69,7 @@ class ChineseTranslation_UnoDialog : public ::cppu::WeakImplHelper < { public: ChineseTranslation_UnoDialog(); - virtual ~ChineseTranslation_UnoDialog(); + virtual ~ChineseTranslation_UnoDialog() override; // lang::XServiceInfo virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override; diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx index 7290c127d7e7..74262152d6c8 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx @@ -37,7 +37,7 @@ class ChineseTranslationDialog : public ModalDialog { public: explicit ChineseTranslationDialog( vcl::Window* pParent ); - virtual ~ChineseTranslationDialog(); + virtual ~ChineseTranslationDialog() override; virtual void dispose() override; void getSettings( bool& rbDirectionToSimplified diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx index e87055b3a95e..ae23c3f189c1 100644 --- a/svx/source/unodraw/UnoGraphicExporter.cxx +++ b/svx/source/unodraw/UnoGraphicExporter.cxx @@ -140,7 +140,7 @@ namespace { { public: GraphicExporter(); - virtual ~GraphicExporter(); + virtual ~GraphicExporter() override; // XFilter virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& aDescriptor ) throw(RuntimeException, std::exception) override; @@ -283,7 +283,7 @@ class ImplExportCheckVisisbilityRedirector : public sdr::contact::ViewObjectCont { public: explicit ImplExportCheckVisisbilityRedirector( SdrPage* pCurrentPage ); - virtual ~ImplExportCheckVisisbilityRedirector(); + virtual ~ImplExportCheckVisisbilityRedirector() override; virtual drawinglayer::primitive2d::Primitive2DContainer createRedirectedPrimitive2DSequence( const sdr::contact::ViewObjectContact& rOriginal, diff --git a/svx/source/unodraw/UnoNameItemTable.hxx b/svx/source/unodraw/UnoNameItemTable.hxx index 6bf5ba162f0b..8cd21000a3c0 100644 --- a/svx/source/unodraw/UnoNameItemTable.hxx +++ b/svx/source/unodraw/UnoNameItemTable.hxx @@ -52,7 +52,7 @@ private: public: SvxUnoNameItemTable( SdrModel* pModel, sal_uInt16 nWhich, sal_uInt8 nMemberId ) throw(); - virtual ~SvxUnoNameItemTable() throw(); + virtual ~SvxUnoNameItemTable() throw() override; virtual NameOrIndex* createItem() const throw() = 0; virtual bool isValid( const NameOrIndex* pItem ) const; diff --git a/svx/source/unodraw/UnoNamespaceMap.cxx b/svx/source/unodraw/UnoNamespaceMap.cxx index 32dca96a0de0..88b0142a1f15 100644 --- a/svx/source/unodraw/UnoNamespaceMap.cxx +++ b/svx/source/unodraw/UnoNamespaceMap.cxx @@ -55,7 +55,7 @@ namespace svx public: NamespaceMap( sal_uInt16* pWhichIds, SfxItemPool* pPool ); - virtual ~NamespaceMap(); + virtual ~NamespaceMap() override; // XNameAccess virtual Any SAL_CALL getByName( const OUString& aName ) throw (NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) override; diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx index 031063730b58..83a64e915c3d 100644 --- a/svx/source/unodraw/XPropertyTable.cxx +++ b/svx/source/unodraw/XPropertyTable.cxx @@ -53,7 +53,7 @@ private: public: SvxUnoXPropertyTable( sal_Int16 nWhich, XPropertyList* pList ) throw(); - virtual ~SvxUnoXPropertyTable() throw(); + virtual ~SvxUnoXPropertyTable() throw() override; virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw(uno::RuntimeException) = 0; virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const throw(uno::RuntimeException, lang::IllegalArgumentException) = 0; diff --git a/svx/source/unodraw/gluepts.cxx b/svx/source/unodraw/gluepts.cxx index bb0e3a54b726..b70c6d734645 100644 --- a/svx/source/unodraw/gluepts.cxx +++ b/svx/source/unodraw/gluepts.cxx @@ -42,7 +42,7 @@ private: public: explicit SvxUnoGluePointAccess( SdrObject* pObject ) throw(); - virtual ~SvxUnoGluePointAccess() throw(); + virtual ~SvxUnoGluePointAccess() throw() override; // XIdentifierContainer virtual sal_Int32 SAL_CALL insert( const uno::Any& aElement ) throw (lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override; diff --git a/svx/source/unodraw/recoveryui.cxx b/svx/source/unodraw/recoveryui.cxx index 07cecc148abe..0404e397fcc6 100644 --- a/svx/source/unodraw/recoveryui.cxx +++ b/svx/source/unodraw/recoveryui.cxx @@ -80,7 +80,7 @@ class RecoveryUI : public ::cppu::WeakImplHelper< css::lang::XServiceInfo /** @short TODO */ - virtual ~RecoveryUI(); + virtual ~RecoveryUI() override; // css.lang.XServiceInfo diff --git a/svx/source/unodraw/shapeimpl.hxx b/svx/source/unodraw/shapeimpl.hxx index a42286d77174..a75a7e5d0e5f 100644 --- a/svx/source/unodraw/shapeimpl.hxx +++ b/svx/source/unodraw/shapeimpl.hxx @@ -24,7 +24,7 @@ class SvxShapeCaption : public SvxShapeText { public: explicit SvxShapeCaption( SdrObject* pObj ) throw(); - virtual ~SvxShapeCaption() throw(); + virtual ~SvxShapeCaption() throw() override; }; class SvxPluginShape : public SvxOle2Shape { @@ -35,7 +35,7 @@ protected: public: explicit SvxPluginShape( SdrObject* pObj ) throw(); - virtual ~SvxPluginShape() throw(); + virtual ~SvxPluginShape() throw() override; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; using SvxUnoTextRangeBase::setPropertyValue; @@ -53,7 +53,7 @@ protected: public: explicit SvxAppletShape( SdrObject* pObj ) throw(); - virtual ~SvxAppletShape() throw(); + virtual ~SvxAppletShape() throw() override; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; using SvxUnoTextRangeBase::setPropertyValue; @@ -76,7 +76,7 @@ protected: public: explicit SvxFrameShape( SdrObject* pObj ) throw(); - virtual ~SvxFrameShape() throw(); + virtual ~SvxFrameShape() throw() override; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override; using SvxUnoTextRangeBase::setPropertyValue; @@ -100,7 +100,7 @@ protected: public: explicit SvxTableShape( SdrObject* pObj ) throw(); - virtual ~SvxTableShape() throw(); + virtual ~SvxTableShape() throw() override; }; SvxUnoPropertyMapProvider& getSvxMapProvider(); diff --git a/svx/source/unodraw/unobtabl.cxx b/svx/source/unodraw/unobtabl.cxx index 342b08282ea7..f2f927ff3eac 100644 --- a/svx/source/unodraw/unobtabl.cxx +++ b/svx/source/unodraw/unobtabl.cxx @@ -39,7 +39,7 @@ class SvxUnoBitmapTable : public SvxUnoNameItemTable { public: explicit SvxUnoBitmapTable( SdrModel* pModel ) throw(); - virtual ~SvxUnoBitmapTable() throw(); + virtual ~SvxUnoBitmapTable() throw() override; virtual NameOrIndex* createItem() const throw() override; virtual bool isValid( const NameOrIndex* pItem ) const override; diff --git a/svx/source/unodraw/unodtabl.cxx b/svx/source/unodraw/unodtabl.cxx index e3c1c48bbde7..07ebbb3a164c 100644 --- a/svx/source/unodraw/unodtabl.cxx +++ b/svx/source/unodraw/unodtabl.cxx @@ -37,7 +37,7 @@ class SvxUnoDashTable : public SvxUnoNameItemTable { public: explicit SvxUnoDashTable( SdrModel* pModel ) throw(); - virtual ~SvxUnoDashTable() throw(); + virtual ~SvxUnoDashTable() throw() override; virtual NameOrIndex* createItem() const throw() override; diff --git a/svx/source/unodraw/unogtabl.cxx b/svx/source/unodraw/unogtabl.cxx index 2e565a428de4..82519d2651b6 100644 --- a/svx/source/unodraw/unogtabl.cxx +++ b/svx/source/unodraw/unogtabl.cxx @@ -36,7 +36,7 @@ class SvxUnoGradientTable : public SvxUnoNameItemTable { public: explicit SvxUnoGradientTable( SdrModel* pModel ) throw(); - virtual ~SvxUnoGradientTable() throw(); + virtual ~SvxUnoGradientTable() throw() override; virtual NameOrIndex* createItem() const throw() override; diff --git a/svx/source/unodraw/unohtabl.cxx b/svx/source/unodraw/unohtabl.cxx index eed5c1c9425b..0bdd10aaffff 100644 --- a/svx/source/unodraw/unohtabl.cxx +++ b/svx/source/unodraw/unohtabl.cxx @@ -36,7 +36,7 @@ class SvxUnoHatchTable : public SvxUnoNameItemTable { public: explicit SvxUnoHatchTable( SdrModel* pModel ) throw(); - virtual ~SvxUnoHatchTable() throw(); + virtual ~SvxUnoHatchTable() throw() override; virtual NameOrIndex* createItem() const throw() override; diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx index e30f2cba4d4d..c7a577bb293c 100644 --- a/svx/source/unodraw/unomod.cxx +++ b/svx/source/unodraw/unomod.cxx @@ -73,7 +73,7 @@ private: public: explicit SvxUnoDrawPagesAccess( SvxUnoDrawingModel& rMyModel ) throw(); - virtual ~SvxUnoDrawPagesAccess() throw(); + virtual ~SvxUnoDrawPagesAccess() throw() override; // XDrawPages virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL insertNewByIndex( sal_Int32 nIndex ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/svx/source/unodraw/unomtabl.cxx b/svx/source/unodraw/unomtabl.cxx index 39cfe7ddaf3e..97d68c979a25 100644 --- a/svx/source/unodraw/unomtabl.cxx +++ b/svx/source/unodraw/unomtabl.cxx @@ -61,7 +61,7 @@ private: public: explicit SvxUnoMarkerTable( SdrModel* pModel ) throw(); - virtual ~SvxUnoMarkerTable() throw(); + virtual ~SvxUnoMarkerTable() throw() override; void dispose(); diff --git a/svx/source/unodraw/unoshcol.cxx b/svx/source/unodraw/unoshcol.cxx index d657b7f2990d..6de5b89aef8d 100644 --- a/svx/source/unodraw/unoshcol.cxx +++ b/svx/source/unodraw/unoshcol.cxx @@ -55,7 +55,7 @@ private: public: SvxShapeCollection() throw(); - virtual ~SvxShapeCollection() throw(); + virtual ~SvxShapeCollection() throw() override; // XInterface virtual void SAL_CALL release() throw() override; diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx index 3d527c38a610..73543f01d74c 100644 --- a/svx/source/unodraw/unoshtxt.cxx +++ b/svx/source/unodraw/unoshtxt.cxx @@ -122,7 +122,7 @@ private: public: SvxTextEditSourceImpl( SdrObject* pObject, SdrText* pText ); SvxTextEditSourceImpl( SdrObject& rObject, SdrText* pText, SdrView& rView, const vcl::Window& rWindow ); - virtual ~SvxTextEditSourceImpl(); + virtual ~SvxTextEditSourceImpl() override; void SAL_CALL acquire(); void SAL_CALL release(); diff --git a/svx/source/unodraw/unottabl.cxx b/svx/source/unodraw/unottabl.cxx index 74623d32b5cd..bf856ed22a95 100644 --- a/svx/source/unodraw/unottabl.cxx +++ b/svx/source/unodraw/unottabl.cxx @@ -36,7 +36,7 @@ class SvxUnoTransGradientTable : public SvxUnoNameItemTable { public: explicit SvxUnoTransGradientTable( SdrModel* pModel ) throw(); - virtual ~SvxUnoTransGradientTable() throw(); + virtual ~SvxUnoTransGradientTable() throw() override; virtual NameOrIndex* createItem() const throw() override; diff --git a/svx/source/unogallery/unogalitem.hxx b/svx/source/unogallery/unogalitem.hxx index cff54f697438..92f57ec46753 100644 --- a/svx/source/unogallery/unogalitem.hxx +++ b/svx/source/unogallery/unogalitem.hxx @@ -45,7 +45,7 @@ class GalleryItem : public ::cppu::OWeakAggObject, public: GalleryItem( ::unogallery::GalleryTheme& rTheme, const GalleryObject& rObject ); - virtual ~GalleryItem() throw(); + virtual ~GalleryItem() throw() override; bool isValid() const; @@ -102,7 +102,7 @@ class GalleryDrawingModel : public SvxUnoDrawingModel public: explicit GalleryDrawingModel( SdrModel* pDoc ) throw(); - virtual ~GalleryDrawingModel() throw(); + virtual ~GalleryDrawingModel() throw() override; UNO3_GETIMPLEMENTATION_DECL( GalleryDrawingModel ) }; diff --git a/svx/source/unogallery/unogaltheme.hxx b/svx/source/unogallery/unogaltheme.hxx index ca7fc3afdf73..de1ff9d5f923 100644 --- a/svx/source/unogallery/unogaltheme.hxx +++ b/svx/source/unogallery/unogaltheme.hxx @@ -45,7 +45,7 @@ class GalleryTheme : public ::cppu::WeakImplHelper< public: explicit GalleryTheme( const OUString& rThemeName ); - virtual ~GalleryTheme(); + virtual ~GalleryTheme() override; static OUString getImplementationName_Static() throw(); static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(); diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx index 3762d5ed6047..99b7016cf850 100644 --- a/svx/source/xml/xmleohlp.cxx +++ b/svx/source/xml/xmleohlp.cxx @@ -73,7 +73,7 @@ class OutputStorageWrapper_Impl : public ::cppu::WeakImplHelper<XOutputStream> public: OutputStorageWrapper_Impl(); - virtual ~OutputStorageWrapper_Impl(); + virtual ~OutputStorageWrapper_Impl() override; // css::io::XOutputStream virtual void SAL_CALL writeBytes(const Sequence< sal_Int8 >& aData) throw(NotConnectedException, BufferSizeExceededException, RuntimeException, std::exception) override; diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index cc8bb484fde5..22df739dda91 100644 --- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -89,7 +89,7 @@ private: public: explicit SvXMLGraphicInputStream( const OUString& rGraphicId ); - virtual ~SvXMLGraphicInputStream(); + virtual ~SvXMLGraphicInputStream() override; SvXMLGraphicInputStream(const SvXMLGraphicInputStream&) = delete; SvXMLGraphicInputStream& operator=(const SvXMLGraphicInputStream&) = delete; @@ -219,7 +219,7 @@ private: public: SvXMLGraphicOutputStream(); - virtual ~SvXMLGraphicOutputStream(); + virtual ~SvXMLGraphicOutputStream() override; SvXMLGraphicOutputStream(const SvXMLGraphicOutputStream&) = delete; SvXMLGraphicOutputStream& operator=(const SvXMLGraphicOutputStream&) = delete; diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx index 1e2192d2a51b..0b7cf51dd5ff 100644 --- a/svx/source/xml/xmlxtexp.cxx +++ b/svx/source/xml/xmlxtexp.cxx @@ -79,7 +79,7 @@ class SvxXMLColorEntryExporter : public SvxXMLTableEntryExporter { public: explicit SvxXMLColorEntryExporter( SvXMLExport& rExport ); - virtual ~SvxXMLColorEntryExporter(); + virtual ~SvxXMLColorEntryExporter() override; virtual void exportEntry( const OUString& rStrName, const Any& rValue ) override; }; @@ -88,7 +88,7 @@ class SvxXMLLineEndEntryExporter : public SvxXMLTableEntryExporter { public: explicit SvxXMLLineEndEntryExporter( SvXMLExport& rExport ); - virtual ~SvxXMLLineEndEntryExporter(); + virtual ~SvxXMLLineEndEntryExporter() override; virtual void exportEntry( const OUString& rStrName, const Any& rValue ) override; private: @@ -99,7 +99,7 @@ class SvxXMLDashEntryExporter : public SvxXMLTableEntryExporter { public: explicit SvxXMLDashEntryExporter( SvXMLExport& rExport ); - virtual ~SvxXMLDashEntryExporter(); + virtual ~SvxXMLDashEntryExporter() override; virtual void exportEntry( const OUString& rStrName, const Any& rValue ) override; @@ -111,7 +111,7 @@ class SvxXMLHatchEntryExporter : public SvxXMLTableEntryExporter { public: explicit SvxXMLHatchEntryExporter( SvXMLExport& rExport ); - virtual ~SvxXMLHatchEntryExporter(); + virtual ~SvxXMLHatchEntryExporter() override; virtual void exportEntry( const OUString& rStrName, const Any& rValue ) override; private: @@ -122,7 +122,7 @@ class SvxXMLGradientEntryExporter : public SvxXMLTableEntryExporter { public: explicit SvxXMLGradientEntryExporter( SvXMLExport& rExport ); - virtual ~SvxXMLGradientEntryExporter(); + virtual ~SvxXMLGradientEntryExporter() override; virtual void exportEntry( const OUString& rStrName, const Any& rValue ) override; private: @@ -133,7 +133,7 @@ class SvxXMLBitmapEntryExporter : public SvxXMLTableEntryExporter { public: explicit SvxXMLBitmapEntryExporter( SvXMLExport& rExport ); - virtual ~SvxXMLBitmapEntryExporter(); + virtual ~SvxXMLBitmapEntryExporter() override; virtual void exportEntry( const OUString& rStrName, const Any& rValue ) override; diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx index 874d37c3f7f6..2307e6929f13 100644 --- a/svx/source/xml/xmlxtimp.cxx +++ b/svx/source/xml/xmlxtimp.cxx @@ -73,7 +73,7 @@ class SvxXMLTableImportContext : public SvXMLImportContext public: SvxXMLTableImportContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference< XAttributeList >& xAttrList, SvxXMLTableImportContextEnum eContext, const uno::Reference< XNameContainer >& xTable, bool bOOoFormat ); - virtual ~SvxXMLTableImportContext(); + virtual ~SvxXMLTableImportContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< XAttributeList >& xAttrList ) override; diff --git a/svx/workben/pixelctl.cxx b/svx/workben/pixelctl.cxx index 564d2b55ae81..9d2cb05809a0 100644 --- a/svx/workben/pixelctl.cxx +++ b/svx/workben/pixelctl.cxx @@ -83,7 +83,7 @@ class MyWin : public WorkWindow public: MyWin(vcl::Window* pParent, WinBits nWinStyle); - virtual ~MyWin() + virtual ~MyWin() override { disposeOnce(); } |