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 /svgio | |
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 'svgio')
29 files changed, 29 insertions, 29 deletions
diff --git a/svgio/inc/svganode.hxx b/svgio/inc/svganode.hxx index 20fd1b2960cc..1f5774a6f3c7 100644 --- a/svgio/inc/svganode.hxx +++ b/svgio/inc/svganode.hxx @@ -40,7 +40,7 @@ namespace svgio SvgANode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgANode(); + virtual ~SvgANode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgcharacternode.hxx b/svgio/inc/svgcharacternode.hxx index befa8f4dee22..d0c74d18d217 100644 --- a/svgio/inc/svgcharacternode.hxx +++ b/svgio/inc/svgcharacternode.hxx @@ -148,7 +148,7 @@ namespace svgio SvgDocument& rDocument, SvgNode* pParent, const OUString& rText); - virtual ~SvgCharacterNode(); + virtual ~SvgCharacterNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; void decomposeText(drawinglayer::primitive2d::Primitive2DContainer& rTarget, SvgTextPosition& rSvgTextPosition) const; diff --git a/svgio/inc/svgcirclenode.hxx b/svgio/inc/svgcirclenode.hxx index f9e6011615b7..edb0523d69d8 100644 --- a/svgio/inc/svgcirclenode.hxx +++ b/svgio/inc/svgcirclenode.hxx @@ -43,7 +43,7 @@ namespace svgio SvgCircleNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgCircleNode(); + virtual ~SvgCircleNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgclippathnode.hxx b/svgio/inc/svgclippathnode.hxx index 558d5bd36180..a2739325ac95 100644 --- a/svgio/inc/svgclippathnode.hxx +++ b/svgio/inc/svgclippathnode.hxx @@ -41,7 +41,7 @@ namespace svgio SvgClipPathNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgClipPathNode(); + virtual ~SvgClipPathNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgdocumenthandler.hxx b/svgio/inc/svgdocumenthandler.hxx index 5069fdbd2eda..b61fbea925b8 100644 --- a/svgio/inc/svgdocumenthandler.hxx +++ b/svgio/inc/svgdocumenthandler.hxx @@ -46,7 +46,7 @@ namespace svgio public: SvgDocHdl(const OUString& rAbsolutePath); - virtual ~SvgDocHdl(); + virtual ~SvgDocHdl() override; // Methods XDocumentHandler virtual void SAL_CALL startDocument( ) throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; diff --git a/svgio/inc/svgellipsenode.hxx b/svgio/inc/svgellipsenode.hxx index 52a7a84f867e..d0ad622eb44d 100644 --- a/svgio/inc/svgellipsenode.hxx +++ b/svgio/inc/svgellipsenode.hxx @@ -44,7 +44,7 @@ namespace svgio SvgEllipseNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgEllipseNode(); + virtual ~SvgEllipseNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svggnode.hxx b/svgio/inc/svggnode.hxx index a97f48fb69ca..6f631da1a26c 100644 --- a/svgio/inc/svggnode.hxx +++ b/svgio/inc/svggnode.hxx @@ -41,7 +41,7 @@ namespace svgio SVGToken aType, SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgGNode(); + virtual ~SvgGNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svggradientnode.hxx b/svgio/inc/svggradientnode.hxx index b453f3b7f175..3a10ed716949 100644 --- a/svgio/inc/svggradientnode.hxx +++ b/svgio/inc/svggradientnode.hxx @@ -66,7 +66,7 @@ namespace svgio SVGToken aType, SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgGradientNode(); + virtual ~SvgGradientNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svggradientstopnode.hxx b/svgio/inc/svggradientstopnode.hxx index 1804f10c3016..00b33d6accbe 100644 --- a/svgio/inc/svggradientstopnode.hxx +++ b/svgio/inc/svggradientstopnode.hxx @@ -40,7 +40,7 @@ namespace svgio SvgGradientStopNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgGradientStopNode(); + virtual ~SvgGradientStopNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgimagenode.hxx b/svgio/inc/svgimagenode.hxx index d4dbdcc209ab..3be9012d9af7 100644 --- a/svgio/inc/svgimagenode.hxx +++ b/svgio/inc/svgimagenode.hxx @@ -51,7 +51,7 @@ namespace svgio SvgImageNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgImageNode(); + virtual ~SvgImageNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svglinenode.hxx b/svgio/inc/svglinenode.hxx index 004e2410f6dd..8fc05449d3f8 100644 --- a/svgio/inc/svglinenode.hxx +++ b/svgio/inc/svglinenode.hxx @@ -44,7 +44,7 @@ namespace svgio SvgLineNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgLineNode(); + virtual ~SvgLineNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgmarkernode.hxx b/svgio/inc/svgmarkernode.hxx index 96a0457720d6..719edce91d6e 100644 --- a/svgio/inc/svgmarkernode.hxx +++ b/svgio/inc/svgmarkernode.hxx @@ -59,7 +59,7 @@ namespace svgio SvgMarkerNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgMarkerNode(); + virtual ~SvgMarkerNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgmasknode.hxx b/svgio/inc/svgmasknode.hxx index 0545028ba254..492ac5795f67 100644 --- a/svgio/inc/svgmasknode.hxx +++ b/svgio/inc/svgmasknode.hxx @@ -46,7 +46,7 @@ namespace svgio SvgMaskNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgMaskNode(); + virtual ~SvgMaskNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgnode.hxx b/svgio/inc/svgnode.hxx index 7a5b86f130c2..2d2c95bf2cc1 100644 --- a/svgio/inc/svgnode.hxx +++ b/svgio/inc/svgnode.hxx @@ -132,7 +132,7 @@ namespace svgio SVGToken aType, SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgNode(); + virtual ~SvgNode() override; SvgNode(const SvgNode&) = delete; SvgNode& operator=(const SvgNode&) = delete; diff --git a/svgio/inc/svgpathnode.hxx b/svgio/inc/svgpathnode.hxx index daa5985cd9fa..52818c4e531b 100644 --- a/svgio/inc/svgpathnode.hxx +++ b/svgio/inc/svgpathnode.hxx @@ -44,7 +44,7 @@ namespace svgio SvgPathNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgPathNode(); + virtual ~SvgPathNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgpatternnode.hxx b/svgio/inc/svgpatternnode.hxx index 3bb8acc055c8..11faad0faff8 100644 --- a/svgio/inc/svgpatternnode.hxx +++ b/svgio/inc/svgpatternnode.hxx @@ -60,7 +60,7 @@ namespace svgio SvgPatternNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgPatternNode(); + virtual ~SvgPatternNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgpolynode.hxx b/svgio/inc/svgpolynode.hxx index e4afb25224c9..fdd7a50158a3 100644 --- a/svgio/inc/svgpolynode.hxx +++ b/svgio/inc/svgpolynode.hxx @@ -45,7 +45,7 @@ namespace svgio SvgDocument& rDocument, SvgNode* pParent, bool bIsPolyline); - virtual ~SvgPolyNode(); + virtual ~SvgPolyNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgrectnode.hxx b/svgio/inc/svgrectnode.hxx index 8eadc61c3a3d..3dbf68b0526f 100644 --- a/svgio/inc/svgrectnode.hxx +++ b/svgio/inc/svgrectnode.hxx @@ -46,7 +46,7 @@ namespace svgio SvgRectNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgRectNode(); + virtual ~SvgRectNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgstylenode.hxx b/svgio/inc/svgstylenode.hxx index a918e685c25d..f35f9b38119e 100644 --- a/svgio/inc/svgstylenode.hxx +++ b/svgio/inc/svgstylenode.hxx @@ -39,7 +39,7 @@ namespace svgio SvgStyleNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgStyleNode(); + virtual ~SvgStyleNode() override; /// #i125258# tell if this node is allowed to have a parent style (e.g. defs do not) virtual bool supportsParentStyle() const override; diff --git a/svgio/inc/svgsvgnode.hxx b/svgio/inc/svgsvgnode.hxx index 18b9a1f571f5..a8276dabc476 100644 --- a/svgio/inc/svgsvgnode.hxx +++ b/svgio/inc/svgsvgnode.hxx @@ -52,7 +52,7 @@ namespace svgio SvgSvgNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgSvgNode(); + virtual ~SvgSvgNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgsymbolnode.hxx b/svgio/inc/svgsymbolnode.hxx index d3d28480b495..98b404ef22ac 100644 --- a/svgio/inc/svgsymbolnode.hxx +++ b/svgio/inc/svgsymbolnode.hxx @@ -40,7 +40,7 @@ namespace svgio SvgSymbolNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgSymbolNode(); + virtual ~SvgSymbolNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgtextnode.hxx b/svgio/inc/svgtextnode.hxx index cc679a7355e4..35116d80dd42 100644 --- a/svgio/inc/svgtextnode.hxx +++ b/svgio/inc/svgtextnode.hxx @@ -52,7 +52,7 @@ namespace svgio SvgTextNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgTextNode(); + virtual ~SvgTextNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgtextpathnode.hxx b/svgio/inc/svgtextpathnode.hxx index 1981180f63b8..42fd09676332 100644 --- a/svgio/inc/svgtextpathnode.hxx +++ b/svgio/inc/svgtextpathnode.hxx @@ -48,7 +48,7 @@ namespace svgio SvgTextPathNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgTextPathNode(); + virtual ~SvgTextPathNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgtitledescnode.hxx b/svgio/inc/svgtitledescnode.hxx index c58b694317af..0618c51519e6 100644 --- a/svgio/inc/svgtitledescnode.hxx +++ b/svgio/inc/svgtitledescnode.hxx @@ -37,7 +37,7 @@ namespace svgio SVGToken aType, SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgTitleDescNode(); + virtual ~SvgTitleDescNode() override; /// add new chars void concatenate(const OUString& rChars); diff --git a/svgio/inc/svgtrefnode.hxx b/svgio/inc/svgtrefnode.hxx index e372887e6496..a246480d28e2 100644 --- a/svgio/inc/svgtrefnode.hxx +++ b/svgio/inc/svgtrefnode.hxx @@ -42,7 +42,7 @@ namespace svgio SvgTrefNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgTrefNode(); + virtual ~SvgTrefNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgtspannode.hxx b/svgio/inc/svgtspannode.hxx index 1d982b15ef1b..572ac7bd21fe 100644 --- a/svgio/inc/svgtspannode.hxx +++ b/svgio/inc/svgtspannode.hxx @@ -41,7 +41,7 @@ namespace svgio SvgTspanNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgTspanNode(); + virtual ~SvgTspanNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/inc/svgusenode.hxx b/svgio/inc/svgusenode.hxx index 3f5aba076ce2..237fa390700f 100644 --- a/svgio/inc/svgusenode.hxx +++ b/svgio/inc/svgusenode.hxx @@ -48,7 +48,7 @@ namespace svgio SvgUseNode( SvgDocument& rDocument, SvgNode* pParent); - virtual ~SvgUseNode(); + virtual ~SvgUseNode() override; virtual const SvgStyleAttributes* getSvgStyleAttributes() const override; virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken, const OUString& aContent) override; diff --git a/svgio/source/svgreader/svgtextpathnode.cxx b/svgio/source/svgreader/svgtextpathnode.cxx index faeb257bb672..408d0fbe76bf 100644 --- a/svgio/source/svgreader/svgtextpathnode.cxx +++ b/svgio/source/svgreader/svgtextpathnode.cxx @@ -64,7 +64,7 @@ namespace svgio const double fBasegfxPathLength, double fPosition, const basegfx::B2DPoint& rTextStart); - virtual ~pathTextBreakupHelper(); + virtual ~pathTextBreakupHelper() override; // read access to evtl. advanced position double getPosition() const { return mfPosition; } diff --git a/svgio/source/svguno/xsvgparser.cxx b/svgio/source/svguno/xsvgparser.cxx index 7f2bcac953de..91ded1f99b21 100644 --- a/svgio/source/svguno/xsvgparser.cxx +++ b/svgio/source/svguno/xsvgparser.cxx @@ -48,7 +48,7 @@ namespace svgio public: explicit XSvgParser( uno::Reference< uno::XComponentContext > const & context); - virtual ~XSvgParser(); + virtual ~XSvgParser() override; XSvgParser(const XSvgParser&) = delete; XSvgParser& operator=(const XSvgParser&) = delete; |