diff options
Diffstat (limited to 'svgio/source/svgreader/svgtextnode.cxx')
-rw-r--r-- | svgio/source/svgreader/svgtextnode.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgtextnode.cxx b/svgio/source/svgreader/svgtextnode.cxx index aff56aa7f3ea..5498ee0f525b 100644 --- a/svgio/source/svgreader/svgtextnode.cxx +++ b/svgio/source/svgreader/svgtextnode.cxx @@ -221,7 +221,7 @@ namespace svgio::svgreader // SVGTokenTref and SVGTokenTextPath. These increase a given current text position const SvgStyleAttributes* pStyle = getSvgStyleAttributes(); - if(!(pStyle && !getChildren().empty())) + if(!pStyle || getChildren().empty()) return; const double fOpacity(pStyle->getOpacity().getNumber()); |