tdf#104878 avoid extra deque allocations for empty Primitive2DContainer

Change-Id: I9815ef38928d4c93485d69c131be6f7df32daef1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91954
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
diff --git a/include/drawinglayer/primitive2d/Primitive2DContainer.hxx b/include/drawinglayer/primitive2d/Primitive2DContainer.hxx
index 4b852f3..cca3a0a 100644
--- a/include/drawinglayer/primitive2d/Primitive2DContainer.hxx
+++ b/include/drawinglayer/primitive2d/Primitive2DContainer.hxx
@@ -39,7 +39,11 @@
      public Primitive2DDecompositionVisitor
{
public:
    explicit Primitive2DContainer() {}
    // use zero because we allocate a lot of empty containers
    explicit Primitive2DContainer()
        : deque(0)
    {
    }
    explicit Primitive2DContainer(size_type count)
        : deque(count)
    {