diff --git a/src/apps/haikudepot/textview/Bullet.cpp b/src/apps/haikudepot/textview/Bullet.cpp index 44cf89440d..a0924c8e03 100644 --- a/src/apps/haikudepot/textview/Bullet.cpp +++ b/src/apps/haikudepot/textview/Bullet.cpp @@ -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; } diff --git a/src/apps/haikudepot/textview/CharacterStyle.cpp b/src/apps/haikudepot/textview/CharacterStyle.cpp index d944ffe4eb..731318db14 100644 --- a/src/apps/haikudepot/textview/CharacterStyle.cpp +++ b/src/apps/haikudepot/textview/CharacterStyle.cpp @@ -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; } diff --git a/src/apps/haikudepot/textview/ParagraphStyle.cpp b/src/apps/haikudepot/textview/ParagraphStyle.cpp index fdad94923f..205546de83 100644 --- a/src/apps/haikudepot/textview/ParagraphStyle.cpp +++ b/src/apps/haikudepot/textview/ParagraphStyle.cpp @@ -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; }