summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2017-02-05 16:57:48 +0000
committertavmjong-free <tavmjong@free.fr>2017-02-05 16:57:48 +0000
commit2fe2bf0ac3026964cbf3c76c357a37f2ab4341ef (patch)
treee24173bd7cf248d3e369ddf0b04774f7f57a84d7 /src/style.cpp
parentFix C++11 errors and warnings with g++-7 (diff)
downloadinkscape-2fe2bf0ac3026964cbf3c76c357a37f2ab4341ef.tar.gz
inkscape-2fe2bf0ac3026964cbf3c76c357a37f2ab4341ef.zip
Fix styling breakage from r15471.
(bzr r15478)
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/style.cpp b/src/style.cpp
index b65cb26cb..0b0358bb2 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -1003,7 +1003,7 @@ SPStyle::readIfUnset( gint id, gchar const *val, SPStyleSrc const &source ) {
Glib::ustring
SPStyle::write( guint const flags, SPStyleSrc const &style_src_req, SPStyle const *const base ) const {
- // std::cout << "SPStyle::write" << std::endl;
+ // std::cout << "SPStyle::write: flags: " << flags << std::endl;
Glib::ustring style_string;
for(std::vector<SPIBase*>::size_type i = 0; i != _properties.size(); ++i) {
@@ -1114,7 +1114,7 @@ SPStyle::_mergeString( gchar const *const p ) {
CRDeclaration *const decl_list
= cr_declaration_parse_list_from_buf(reinterpret_cast<guchar const *>(p), CR_UTF_8);
if (decl_list) {
- _mergeDeclList( decl_list, SP_STYLE_SRC_ATTRIBUTE );
+ _mergeDeclList( decl_list, SP_STYLE_SRC_STYLE_PROP );
cr_declaration_destroy(decl_list);
}
}