summaryrefslogtreecommitdiffstats
path: root/src/object/sp-style-elem.cpp
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-06-20 20:10:11 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-07-08 21:04:15 +0000
commit5a9105c13eed05ede3936b210f2680426344a2d6 (patch)
treea46f6c9168bf99db7ae5c11d41c2ad87169a1575 /src/object/sp-style-elem.cpp
parentRemove clang diff (diff)
downloadinkscape-5a9105c13eed05ede3936b210f2680426344a2d6.tar.gz
inkscape-5a9105c13eed05ede3936b210f2680426344a2d6.zip
Improvements to temming allow diferent on dark themes
Diffstat (limited to 'src/object/sp-style-elem.cpp')
-rw-r--r--src/object/sp-style-elem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object/sp-style-elem.cpp b/src/object/sp-style-elem.cpp
index 3b93ff190..dc9712938 100644
--- a/src/object/sp-style-elem.cpp
+++ b/src/object/sp-style-elem.cpp
@@ -203,14 +203,14 @@ import_style_cb (CRDocHandler *a_handler,
CRStatus const parse_status =
cr_parser_parse_file (parser, reinterpret_cast<const guchar *>(import_file.c_str()), CR_UTF_8);
if (parse_status == CR_OK) {
- if (!document->getStyleSheet()) {
+ if(!document->getStyleSheet()) {
// if the style is the first style sheet that we've seen, set the document's
// first style sheet to this style and create a cascade object with it.
document->setStyleSheet(stylesheet);
- cr_cascade_set_sheet(document->getStyleCascade(), document->getStyleSheet(), ORIGIN_AUTHOR);
+ 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(), stylesheet);
+ cr_stylesheet_append_import (document->getStyleSheet(), stylesheet);
}
} else {
std::cerr << "import_style_cb: Could not parse: " << import_file << std::endl;