summaryrefslogtreecommitdiff
path: root/svgio/inc/svgfedropshadownode.hxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2023-07-12 08:12:30 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2023-07-12 13:23:44 +0200
commit8d03f1d83d4ca561c11463325f16d7520a36df32 (patch)
tree5e8a1244af9bce4813197c4ca6618a5042f2d153 /svgio/inc/svgfedropshadownode.hxx
parentbc662b15bf56bd405cb86e592e4ade9917ab49d1 (diff)
svgio: re-implement to use virtual function
kudos to Mike Kaganski for the hint Change-Id: Iea58a31ffa481c4d9579a31f045f2a73d30ad883 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154344 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svgio/inc/svgfedropshadownode.hxx')
-rw-r--r--svgio/inc/svgfedropshadownode.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svgio/inc/svgfedropshadownode.hxx b/svgio/inc/svgfedropshadownode.hxx
index 5cc4b51ed797..1f3b62576411 100644
--- a/svgio/inc/svgfedropshadownode.hxx
+++ b/svgio/inc/svgfedropshadownode.hxx
@@ -19,12 +19,12 @@
#pragma once
-#include "svgnode.hxx"
+#include "svgfilternode.hxx"
#include "svgstyleattributes.hxx"
namespace svgio::svgreader
{
-class SvgFeDropShadowNode final : public SvgNode
+class SvgFeDropShadowNode final : public SvgFilterNode
{
private:
SvgNumber maDx;
@@ -40,7 +40,7 @@ public:
virtual void parseAttribute(const OUString& rTokenName, SVGToken aSVGToken,
const OUString& aContent) override;
- void apply(drawinglayer::primitive2d::Primitive2DContainer& rTarget) const;
+ void apply(drawinglayer::primitive2d::Primitive2DContainer& rTarget) const override;
};
} // end of namespace svgio::svgreader