summaryrefslogtreecommitdiff
path: root/src/svg/qsvghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svg/qsvghandler.cpp')
-rw-r--r--src/svg/qsvghandler.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/svg/qsvghandler.cpp b/src/svg/qsvghandler.cpp
index 88d85e3..7841fa3 100644
--- a/src/svg/qsvghandler.cpp
+++ b/src/svg/qsvghandler.cpp
@@ -2308,7 +2308,6 @@ static bool parseAnimateColorNode(QSvgNode *parent,
const QXmlStreamAttributes &attributes,
QSvgHandler *handler)
{
- QString typeStr = attributes.value(QLatin1String("type")).toString();
QStringRef fromStr = attributes.value(QLatin1String("from"));
QStringRef toStr = attributes.value(QLatin1String("to"));
QString valuesStr = attributes.value(QLatin1String("values")).toString();
@@ -2393,7 +2392,6 @@ static bool parseAnimateTransformNode(QSvgNode *parent,
QString values = attributes.value(QLatin1String("values")).toString();
QString beginStr = attributes.value(QLatin1String("begin")).toString();
QString durStr = attributes.value(QLatin1String("dur")).toString();
- QString targetStr = attributes.value(QLatin1String("attributeName")).toString();
QString repeatStr = attributes.value(QLatin1String("repeatCount")).toString();
QString fillStr = attributes.value(QLatin1String("fill")).toString();
QString fromStr = attributes.value(QLatin1String("from")).toString();
@@ -3197,14 +3195,6 @@ static QSvgNode *createSvgNode(QSvgNode *parent,
{
Q_UNUSED(parent); Q_UNUSED(attributes);
- QString baseProfile = attributes.value(QLatin1String("baseProfile")).toString();
-#if 0
- if (baseProfile.isEmpty() && baseProfile != QLatin1String("tiny")) {
- qCWarning(lcSvgHandler, "Profile is %s while we only support tiny!",
- qPrintable(baseProfile));
- }
-#endif
-
QSvgTinyDocument *node = new QSvgTinyDocument();
QString widthStr = attributes.value(QLatin1String("width")).toString();
QString heightStr = attributes.value(QLatin1String("height")).toString();