From 49b582efd69d8802bbffe1fc50e3f601c4f1faa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Wed, 1 Apr 2009 16:02:08 +0000 Subject: [PATCH] Fixed a few more coding style issues, thanks Axel! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29853 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Region.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kits/interface/Region.cpp b/src/kits/interface/Region.cpp index 52f3f9f52e..d68f662c51 100644 --- a/src/kits/interface/Region.cpp +++ b/src/kits/interface/Region.cpp @@ -98,7 +98,7 @@ BRegion::~BRegion() \return This function always returns \c *this. */ BRegion& -BRegion::operator=(const BRegion ®ion) +BRegion::operator=(const BRegion& region) { if (®ion == this) return *this; @@ -115,6 +115,7 @@ BRegion::operator=(const BRegion ®ion) return *this; } + /*! \brief Compares this region to another (by value). \param other the BRegion to compare to. \return \ctrue if the two regions are the same, \cfalse otherwise. @@ -131,6 +132,7 @@ BRegion::operator==(const BRegion& other) const return memcmp(fData, other.fData, fCount * sizeof(clipping_rect)) == 0; } + /*! \brief Set the region to contain just the given BRect. \param newBounds A BRect. */