From 415994325e9bd1dd2470522280c0919addc7244d Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Mon, 12 Mar 2018 10:48:20 +0100 Subject: Fix bug that prevented changing 'font-variation-settings' setting. --- src/style-internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/style-internal.h') diff --git a/src/style-internal.h b/src/style-internal.h index c41fe2191..5d54df5b5 100644 --- a/src/style-internal.h +++ b/src/style-internal.h @@ -144,7 +144,6 @@ public: bool has_important = false; Glib::ustring stripped = strip_important(str, has_important); // Sets 'has_important' - // '!important' is invalid on attributes, don't read. if (source == SP_STYLE_SRC_ATTRIBUTE && has_important){ return; @@ -512,7 +511,8 @@ public: SPStyleSrc const &style_src_req = SP_STYLE_SRC_STYLE_PROP, SPIBase const *const base = NULL ) const; virtual void clear() { - axes.empty(); + SPIBase::clear(); + axes.clear(); normal = true; } -- cgit v1.2.3