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:
Zardshard 2023-05-17 14:44:07 -04:00 committed by Adrien Destugues
parent 496d59e107
commit 8ffe04780d
3 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -39,7 +39,6 @@ class DocumentBuilder {
status_t GetIcon(Icon* icon,
SVGImporter* importer,
const char* fallbackName);
private:

View File

@ -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;