summaryrefslogtreecommitdiffstats
path: root/svgio/source/svgreader/svgtextpathnode.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/svgtextpathnode.cxx
parentloplugin:unusedfields in svx part1 (diff)
downloadcore-18f513145477d4621290253d936dad7a40ee4c05.tar.gz
core-18f513145477d4621290253d936dad7a40ee4c05.zip
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/svgtextpathnode.cxx')
-rw-r--r--svgio/source/svgreader/svgtextpathnode.cxx26
1 files changed, 1 insertions, 25 deletions
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: