QSvgHandler *)
{
Q_UNUSED(attributes);
- QSvgG *node = new QSvgG(parent);
- return node;
+ return new QSvgG(parent);
}
static bool parseGlyphNode(QSvgStyleProperty *parent,
QSvgHandler *)
{
Q_UNUSED(attributes);
- QSvgSwitch *node = new QSvgSwitch(parent);
- return node;
+ return new QSvgSwitch(parent);
}
static bool parseTbreakNode(QSvgNode *parent,
//delay link resolving till the first draw call on
//use nodes, link 2might have not been created yet
- QSvgUse *node = new QSvgUse(pt, parent, link);
- return node;
+ return new QSvgUse(pt, parent, link);
}
}