From d77a644a1a4af8b2c7eb3b524ba6ac24d58b67fb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 30 Jan 2021 13:23:15 +0200 Subject: this method should be pure virtual otherwise there is no point in subclassing this helper class Change-Id: I141d32ec84e782003cb41c6ca7abc27fd9a16860 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110167 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/drawinglayer/primitive2d/baseprimitive2d.hxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'include/drawinglayer') diff --git a/include/drawinglayer/primitive2d/baseprimitive2d.hxx b/include/drawinglayer/primitive2d/baseprimitive2d.hxx index 45d0e3519c40..7619e04e5279 100644 --- a/include/drawinglayer/primitive2d/baseprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/baseprimitive2d.hxx @@ -218,11 +218,10 @@ protected: maBuffered2DDecomposition = rNew; } - /** method which is to be used to implement the local decomposition of a 2D primitive. The default - implementation will just return an empty decomposition - */ - virtual void create2DDecomposition(Primitive2DContainer& rContainer, - const geometry::ViewInformation2D& rViewInformation) const; + /** method which is to be used to implement the local decomposition of a 2D primitive. */ + virtual void + create2DDecomposition(Primitive2DContainer& rContainer, + const geometry::ViewInformation2D& rViewInformation) const = 0; public: // constructor/destructor -- cgit