summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-04-06 18:54:25 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-04-06 18:54:25 +0000
commit87eb273ceca7e4212a4bfbf2e04b616bac73a701 (patch)
tree5974d5938b0a71bf48a5486c5d669c4767aa2341 /src/style.cpp
parentCMake: Fix module FindDoubleConversion.cmake (diff)
downloadinkscape-87eb273ceca7e4212a4bfbf2e04b616bac73a701.tar.gz
inkscape-87eb273ceca7e4212a4bfbf2e04b616bac73a701.zip
More document.h cleanup.
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/style.cpp b/src/style.cpp
index c87d84a9f..1cece6dbd 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -917,10 +917,11 @@ SPStyle::_mergeObjectStylesheet( SPObject const *const object ) {
CRPropList *props = nullptr;
//XML Tree being directly used here while it shouldn't be.
- CRStatus status = cr_sel_eng_get_matched_properties_from_cascade(sel_eng,
- object->document->style_cascade,
- object->getRepr(),
- &props);
+ CRStatus status =
+ cr_sel_eng_get_matched_properties_from_cascade(sel_eng,
+ object->document->getStyleCascade(),
+ object->getRepr(),
+ &props);
g_return_if_fail(status == CR_OK);
/// \todo Check what errors can occur, and handle them properly.
if (props) {