Icon-O-Matic: Remove unused function parameter
Change-Id: Idbcddacb54597eb10c95de3db2b08067e507bbda Reviewed-on: https://review.haiku-os.org/c/haiku/+/6446 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
496d59e107
commit
8ffe04780d
@@ -63,8 +63,7 @@ DocumentBuilder::SetDimensions(uint32 width, uint32 height, BRect viewBox)
|
|||||||
|
|
||||||
// GetIcon
|
// GetIcon
|
||||||
status_t
|
status_t
|
||||||
DocumentBuilder::GetIcon(Icon* icon, SVGImporter* importer,
|
DocumentBuilder::GetIcon(Icon* icon, const char* fallbackName)
|
||||||
const char* fallbackName)
|
|
||||||
{
|
{
|
||||||
double xMin = 0;
|
double xMin = 0;
|
||||||
double yMin = 0;
|
double yMin = 0;
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ class DocumentBuilder {
|
|||||||
|
|
||||||
|
|
||||||
status_t GetIcon(Icon* icon,
|
status_t GetIcon(Icon* icon,
|
||||||
SVGImporter* importer,
|
|
||||||
const char* fallbackName);
|
const char* fallbackName);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ SVGImporter::Import(Icon* icon, const entry_ref* ref)
|
|||||||
}
|
}
|
||||||
|
|
||||||
DocumentBuilder builder(svg);
|
DocumentBuilder builder(svg);
|
||||||
ret = builder.GetIcon(icon, this, ref->name);
|
ret = builder.GetIcon(icon, ref->name);
|
||||||
nsvgDelete(svg);
|
nsvgDelete(svg);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user