diff options
| author | Martin Owens <doctormo@gmail.com> | 2018-11-10 08:39:14 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2019-02-20 15:35:31 +0000 |
| commit | 4c1a7e5f684aa631f0b6be9d00ff4c0ffe16fe13 (patch) | |
| tree | 8a1f72e8d93e518ce28770f9864278a1e2ba2c9d /src/style.cpp | |
| parent | Remove Tags functionality (replaced by css selectors) (diff) | |
| download | inkscape-4c1a7e5f684aa631f0b6be9d00ff4c0ffe16fe13.tar.gz inkscape-4c1a7e5f684aa631f0b6be9d00ff4c0ffe16fe13.zip | |
Fix missing properties method, pass properties structure
Diffstat (limited to 'src/style.cpp')
| -rw-r--r-- | src/style.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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<SPIBase *> SPStyle::properties() +{ + return this->_properties; +} + void SPStyle::clear(SPAttributeEnum id) { SPIBase *p = _prop_helper.get(this, id); |
