Kaydet (Commit) c317b7f9 authored tarafından Noel Grandin's avatar Noel Grandin

make the "inline" method attributes match with the method definition.

And make the whitespace layout a little cleaner.

Change-Id: I12b042600f061e74825de92ce836ee34ebdfabdb
üst 82c53d53
...@@ -375,28 +375,28 @@ public: ...@@ -375,28 +375,28 @@ public:
long& Bottom() { return nBottom; } long& Bottom() { return nBottom; }
inline Point TopLeft() const; inline Point TopLeft() const;
Point TopRight() const; inline Point TopRight() const;
Point TopCenter() const; inline Point TopCenter() const;
Point BottomLeft() const; inline Point BottomLeft() const;
Point BottomRight() const; inline Point BottomRight() const;
Point BottomCenter() const; inline Point BottomCenter() const;
Point LeftCenter() const; inline Point LeftCenter() const;
Point RightCenter() const; inline Point RightCenter() const;
Point Center() const; inline Point Center() const;
void Move( long nHorzMove, long nVertMove ); inline void Move( long nHorzMove, long nVertMove );
inline void Transpose(); inline void Transpose();
inline void SetPos( const Point& rPoint ); inline void SetPos( const Point& rPoint );
void SetSize( const Size& rSize ); void SetSize( const Size& rSize );
inline Size GetSize() const; inline Size GetSize() const;
long GetWidth() const; inline long GetWidth() const;
long GetHeight() const; inline long GetHeight() const;
Rectangle& Union( const Rectangle& rRect ); Rectangle& Union( const Rectangle& rRect );
Rectangle& Intersection( const Rectangle& rRect ); Rectangle& Intersection( const Rectangle& rRect );
Rectangle GetUnion( const Rectangle& rRect ) const; inline Rectangle GetUnion( const Rectangle& rRect ) const;
Rectangle GetIntersection( const Rectangle& rRect ) const; inline Rectangle GetIntersection( const Rectangle& rRect ) const;
void Justify(); void Justify();
...@@ -405,13 +405,13 @@ public: ...@@ -405,13 +405,13 @@ public:
sal_Bool IsOver( const Rectangle& rRect ) const; sal_Bool IsOver( const Rectangle& rRect ) const;
void SetEmpty() { nRight = nBottom = RECT_EMPTY; } void SetEmpty() { nRight = nBottom = RECT_EMPTY; }
sal_Bool IsEmpty() const; inline sal_Bool IsEmpty() const;
sal_Bool operator == ( const Rectangle& rRect ) const; inline sal_Bool operator == ( const Rectangle& rRect ) const;
sal_Bool operator != ( const Rectangle& rRect ) const; inline sal_Bool operator != ( const Rectangle& rRect ) const;
Rectangle& operator += ( const Point& rPt ); inline Rectangle& operator += ( const Point& rPt );
Rectangle& operator -= ( const Point& rPt ); inline Rectangle& operator -= ( const Point& rPt );
friend inline Rectangle operator + ( const Rectangle& rRect, const Point& rPt ); friend inline Rectangle operator + ( const Rectangle& rRect, const Point& rPt );
friend inline Rectangle operator - ( const Rectangle& rRect, const Point& rPt ); friend inline Rectangle operator - ( const Rectangle& rRect, const Point& rPt );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment