Small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24488 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -360,7 +360,6 @@ SVGExporter::_ExportShape(const Shape* shape, BPositionIO* stream)
|
|||||||
status_t
|
status_t
|
||||||
SVGExporter::_ExportGradient(const Gradient* gradient, BPositionIO* stream)
|
SVGExporter::_ExportGradient(const Gradient* gradient, BPositionIO* stream)
|
||||||
{
|
{
|
||||||
status_t ret = B_OK;
|
|
||||||
BString helper;
|
BString helper;
|
||||||
|
|
||||||
// start new gradient tag
|
// start new gradient tag
|
||||||
@@ -435,11 +434,7 @@ SVGExporter::_ExportGradient(const Gradient* gradient, BPositionIO* stream)
|
|||||||
helper << " </linearGradient>\n";
|
helper << " </linearGradient>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret >= B_OK) {
|
return write_line(stream, helper);
|
||||||
ret = write_line(stream, helper);
|
|
||||||
}
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// _AppendMatrix
|
// _AppendMatrix
|
||||||
|
|||||||
Reference in New Issue
Block a user