summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgstyleattributes.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 19:54:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 08:43:05 +0200
commit18f513145477d4621290253d936dad7a40ee4c05 (patch)
tree488acddc766727dc28c28c026c9bc2a2a5e10900 /svgio/source/svgreader/svgstyleattributes.cxx
parent742c0838f29bd09505e2cb9ca35debf401c18c23 (diff)
loplugin:unusedfields store..svl
Change-Id: I6070a683e5128271b84a10caccb548d07c950927 Reviewed-on: https://gerrit.libreoffice.org/39021 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svgio/source/svgreader/svgstyleattributes.cxx')
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx12
1 files changed, 0 insertions, 12 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: