summaryrefslogtreecommitdiff
path: root/include/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-01-30 13:23:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-01-30 17:30:36 +0100
commitd77a644a1a4af8b2c7eb3b524ba6ac24d58b67fb (patch)
treeeb364dc64e67947abce6c682a0e3f18ef62d6e1c /include/drawinglayer
parent0ce7284ec75be275ef6aa803c6497400c179cab4 (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/drawinglayer')
-rw-r--r--include/drawinglayer/primitive2d/baseprimitive2d.hxx9
1 files changed, 4 insertions, 5 deletions
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