Complete drawinglayer attributes

Desktop / LibreOffice - Armin Le Grand [cib.de] - 1 May 2016 08:46 UTC

All DrawingLayer Atrributes used for ptimitives need a default constructor. Since the o3tl::cow_wrapper is used in combination with a static default incarnation of the impl class it is better to define that. Also needed is a working isDefault() implementation that compares the impl class to the static default. Added missing stuff for this.

Change-Id: I98e9fee7343112cd979b972229423ac0ef3994a6 Reviewed-on: https://gerrit.libreoffice.org/24496

75d9f7a Complete drawinglayer attributes
.../source/attribute/fillgraphicattribute.cxx | 5 ++++
drawinglayer/source/attribute/fontattribute.cxx | 5 ++++
.../source/attribute/materialattribute3d.cxx | 5 ++++
.../source/attribute/sdrlightattribute3d.cxx | 17 +++++++++++++
.../source/attribute/sdrobjectattribute3d.cxx | 25 ++++++++++++++++++++
include/drawinglayer/attribute/fontattribute.hxx | 3 +++
.../drawinglayer/attribute/materialattribute3d.hxx | 3 +++
.../drawinglayer/attribute/sdrlightattribute3d.hxx | 4 ++++
.../attribute/sdrobjectattribute3d.hxx | 4 ++++
9 files changed, 71 insertions(+)

Upstream: cgit.freedesktop.org


  • Share