HaikuDepot: remove unneeded .Get() calls

Dereference operator is defined in BReference.

Change-Id: Iccba8ad4a29e354aa9cdbf2e1a5ddbc9687af677
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3489
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
X512 2020-12-10 04:17:57 +09:00 committed by Jérôme Duval
parent 779ab335dd
commit 0dcedf62b9
3 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ Bullet::operator==(const Bullet& other) const
return true;
if (fBulletData.IsSet() && other.fBulletData.IsSet())
return *fBulletData.Get() == *other.fBulletData.Get();
return *fBulletData == *other.fBulletData;
return false;
}

View File

@ -41,7 +41,7 @@ CharacterStyle::operator==(const CharacterStyle& other) const
return true;
if (fStyleData.IsSet() && other.fStyleData.IsSet())
return *fStyleData.Get() == *other.fStyleData.Get();
return *fStyleData == *other.fStyleData;
return false;
}

View File

@ -41,7 +41,7 @@ ParagraphStyle::operator==(const ParagraphStyle& other) const
return true;
if (fStyleData.IsSet() && other.fStyleData.IsSet())
return *fStyleData.Get() == *other.fStyleData.Get();
return *fStyleData == *other.fStyleData;
return false;
}