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:
parent
779ab335dd
commit
0dcedf62b9
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user