diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-04-06 18:54:25 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-04-06 18:54:25 +0000 |
| commit | 87eb273ceca7e4212a4bfbf2e04b616bac73a701 (patch) | |
| tree | 5974d5938b0a71bf48a5486c5d669c4767aa2341 /src/style.cpp | |
| parent | CMake: Fix module FindDoubleConversion.cmake (diff) | |
| download | inkscape-87eb273ceca7e4212a4bfbf2e04b616bac73a701.tar.gz inkscape-87eb273ceca7e4212a4bfbf2e04b616bac73a701.zip | |
More document.h cleanup.
Diffstat (limited to 'src/style.cpp')
| -rw-r--r-- | src/style.cpp | 9 |
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) { |
