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 <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
This commit is contained in:
parent
496d59e107
commit
8ffe04780d
@ -63,8 +63,7 @@ DocumentBuilder::SetDimensions(uint32 width, uint32 height, BRect viewBox)
|
||||
|
||||
// GetIcon
|
||||
status_t
|
||||
DocumentBuilder::GetIcon(Icon* icon, SVGImporter* importer,
|
||||
const char* fallbackName)
|
||||
DocumentBuilder::GetIcon(Icon* icon, const char* fallbackName)
|
||||
{
|
||||
double xMin = 0;
|
||||
double yMin = 0;
|
||||
|
@ -39,7 +39,6 @@ class DocumentBuilder {
|
||||
|
||||
|
||||
status_t GetIcon(Icon* icon,
|
||||
SVGImporter* importer,
|
||||
const char* fallbackName);
|
||||
|
||||
private:
|
||||
|
@ -74,7 +74,7 @@ SVGImporter::Import(Icon* icon, const entry_ref* ref)
|
||||
}
|
||||
|
||||
DocumentBuilder builder(svg);
|
||||
ret = builder.GetIcon(icon, this, ref->name);
|
||||
ret = builder.GetIcon(icon, ref->name);
|
||||
nsvgDelete(svg);
|
||||
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user