From b44cbb26efe1d0b0950b1e1613e131b506dc3876 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 20 Jan 2015 12:38:10 +0200 Subject: new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae --- svgio/inc/svgio/svgreader/svgcharacternode.hxx | 2 +- svgio/inc/svgio/svgreader/svgsvgnode.hxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'svgio/inc') diff --git a/svgio/inc/svgio/svgreader/svgcharacternode.hxx b/svgio/inc/svgio/svgreader/svgcharacternode.hxx index 9425a46f23fe..192f24d221ba 100644 --- a/svgio/inc/svgio/svgreader/svgcharacternode.hxx +++ b/svgio/inc/svgio/svgreader/svgcharacternode.hxx @@ -158,7 +158,7 @@ namespace svgio virtual ~SvgCharacterNode(); virtual const SvgStyleAttributes* getSvgStyleAttributes() const SAL_OVERRIDE; - virtual void decomposeText(drawinglayer::primitive2d::Primitive2DSequence& rTarget, SvgTextPosition& rSvgTextPosition) const; + void decomposeText(drawinglayer::primitive2d::Primitive2DSequence& rTarget, SvgTextPosition& rSvgTextPosition) const; void whiteSpaceHandling(); void addGap(); void concatenate(const OUString& rText); diff --git a/svgio/inc/svgio/svgreader/svgsvgnode.hxx b/svgio/inc/svgio/svgreader/svgsvgnode.hxx index d4fb304f653d..4a36bf864081 100644 --- a/svgio/inc/svgio/svgreader/svgsvgnode.hxx +++ b/svgio/inc/svgio/svgreader/svgsvgnode.hxx @@ -60,8 +60,8 @@ namespace svgio /// Seeks width and height of viewport, which is current before the new viewport is set. // needed for percentage unit in x, y, width or height - virtual void seekReferenceWidth(double& fWidth, bool& bHasFound) const; - virtual void seekReferenceHeight(double& fHeight, bool& bHasFound) const; + void seekReferenceWidth(double& fWidth, bool& bHasFound) const; + void seekReferenceHeight(double& fHeight, bool& bHasFound) const; /// InfoProvider support for % values in children // The returned 'CurrentViewPort' is the viewport as it is set by this svg element -- cgit v1.2.3