From c2f0d511571352125734545fbd7a256cfbc2b4aa Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Fri, 8 Nov 2019 09:15:45 +0100 Subject: Use correct function to add additional style sheets to style sheet list. --- src/object/sp-style-elem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object/sp-style-elem.cpp b/src/object/sp-style-elem.cpp index a8897fa44..f5432892c 100644 --- a/src/object/sp-style-elem.cpp +++ b/src/object/sp-style-elem.cpp @@ -482,7 +482,7 @@ void SPStyleElem::read_content() { cr_cascade_set_sheet (document->getStyleCascade(), document->getStyleSheet(), ORIGIN_AUTHOR); } else { // If not the first, then chain up this style_sheet - cr_stylesheet_append_import (document->getStyleSheet(), style_sheet); + cr_stylesheet_append_stylesheet (document->getStyleSheet(), style_sheet); } } else { cr_stylesheet_destroy (style_sheet); -- cgit v1.2.3