diff options
Diffstat (limited to 'svgio/source/svgreader')
-rw-r--r-- | svgio/source/svgreader/svgstyleattributes.cxx | 12 | ||||
-rw-r--r-- | svgio/source/svgreader/svgtextpathnode.cxx | 26 |
2 files changed, 1 insertions, 37 deletions
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 15abeb022ff1..19e2bfd9bb91 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -1230,7 +1230,6 @@ namespace svgio maFontSizeNumber(), maFontStretch(FontStretch_notset), maFontStyle(FontStyle_notset), - maFontVariant(FontVariant_notset), maFontWeight(FontWeight_notset), maTextAlign(TextAlign_notset), maTextDecoration(TextDecoration_notset), @@ -1651,17 +1650,6 @@ namespace svgio } case SVGTokenFontVariant: { - if(!aContent.isEmpty()) - { - if(aContent.startsWith("normal")) - { - setFontVariant(FontVariant_normal); - } - else if(aContent.startsWith("small-caps")) - { - setFontVariant(FontVariant_small_caps); - } - } break; } case SVGTokenFontWeight: diff --git a/svgio/source/svgreader/svgtextpathnode.cxx b/svgio/source/svgreader/svgtextpathnode.cxx index 0ac0457a174b..e9b00eb2ddec 100644 --- a/svgio/source/svgreader/svgtextpathnode.cxx +++ b/svgio/source/svgreader/svgtextpathnode.cxx @@ -251,9 +251,7 @@ namespace svgio : SvgNode(SVGTokenTextPath, rDocument, pParent), maSvgStyleAttributes(*this), maXLink(), - maStartOffset(), - mbMethod(true), - mbSpacing(false) + maStartOffset() { } @@ -297,32 +295,10 @@ namespace svgio } case SVGTokenMethod: { - if(!aContent.isEmpty()) - { - if(aContent.startsWith("align")) - { - setMethod(true); - } - else if(aContent.startsWith("stretch")) - { - setMethod(false); - } - } break; } case SVGTokenSpacing: { - if(!aContent.isEmpty()) - { - if(aContent.startsWith("auto")) - { - setSpacing(true); - } - else if(aContent.startsWith("exact")) - { - setSpacing(false); - } - } break; } case SVGTokenXlinkHref: |