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:
Zardshard
2023-05-18 10:45:45 +00:00
committed by Adrien Destugues
parent 496d59e107
commit 8ffe04780d
3 changed files with 2 additions and 4 deletions
@@ -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;