Patch from Bruce Mitchener to fix gcc warning

git-svn-id: svn://10.0.0.236/trunk@24968 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1999-03-24 05:11:17 +00:00
parent 83f1e927a2
commit 3ec35d6a0d

View File

@@ -185,7 +185,7 @@ public:
NS_IMETHOD ClearRegions() = 0;
};
void inline nsBandTrapezoid::GetRect(nsRect& aRect) const
inline void nsBandTrapezoid::GetRect(nsRect& aRect) const
{
aRect.x = PR_MIN(xTopLeft, xBottomLeft);
aRect.y = yTop;
@@ -193,7 +193,7 @@ void inline nsBandTrapezoid::GetRect(nsRect& aRect) const
aRect.height = yBottom - yTop;
}
void inline nsBandTrapezoid::operator=(const nsRect& aRect)
inline void nsBandTrapezoid::operator=(const nsRect& aRect)
{
xTopLeft = xBottomLeft = aRect.x;
xTopRight = xBottomRight = aRect.XMost();