From 4c1a7e5f684aa631f0b6be9d00ff4c0ffe16fe13 Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Sat, 10 Nov 2018 03:39:14 -0500 Subject: Fix missing properties method, pass properties structure --- src/style.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/style.cpp') diff --git a/src/style.cpp b/src/style.cpp index bf14d66ce..87ae6cf2c 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -478,7 +478,7 @@ SPStyle::~SPStyle() { fill_ps_changed_connection.disconnect(); stroke_ps_changed_connection.disconnect(); - // The following should be moved into SPIPaint and SPIFilter +// The following should be moved into SPIPaint and SPIFilter if (fill.value.href) { fill_ps_modified_connection.disconnect(); } @@ -501,6 +501,11 @@ SPStyle::~SPStyle() { // std::cout << "SPStyle::~SPStyle(): Exit\n" << std::endl; } +const std::vector SPStyle::properties() +{ + return this->_properties; +} + void SPStyle::clear(SPAttributeEnum id) { SPIBase *p = _prop_helper.get(this, id); -- cgit v1.2.3