summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-12-13 13:36:57 +0200
committerNoel Grandin <noel@peralex.com>2012-12-13 13:40:08 +0200
commitc317b7f963f6d3fb2f325bc212c148d61b3dfa31 (patch)
treea06931bf20b2da95eec2d41293337b51de07933d /tools
parent82c53d537a05dadf4d7fd7ea41292897bf2d47c7 (diff)
make the "inline" method attributes match with the method definition.
And make the whitespace layout a little cleaner. Change-Id: I12b042600f061e74825de92ce836ee34ebdfabdb
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/gen.hxx46
1 files changed, 23 insertions, 23 deletions
diff --git a/tools/inc/tools/gen.hxx b/tools/inc/tools/gen.hxx
index 2ddb21fb9cb5..568d873d13ea 100644
--- a/tools/inc/tools/gen.hxx
+++ b/tools/inc/tools/gen.hxx
@@ -374,44 +374,44 @@ public:
long& Top() { return nTop; }
long& Bottom() { return nBottom; }
- inline Point TopLeft() const;
- Point TopRight() const;
- Point TopCenter() const;
- Point BottomLeft() const;
- Point BottomRight() const;
- Point BottomCenter() const;
- Point LeftCenter() const;
- Point RightCenter() const;
- Point Center() const;
-
- void Move( long nHorzMove, long nVertMove );
+ inline Point TopLeft() const;
+ inline Point TopRight() const;
+ inline Point TopCenter() const;
+ inline Point BottomLeft() const;
+ inline Point BottomRight() const;
+ inline Point BottomCenter() const;
+ inline Point LeftCenter() const;
+ inline Point RightCenter() const;
+ inline Point Center() const;
+
+ inline void Move( long nHorzMove, long nVertMove );
inline void Transpose();
inline void SetPos( const Point& rPoint );
void SetSize( const Size& rSize );
inline Size GetSize() const;
- long GetWidth() const;
- long GetHeight() const;
+ inline long GetWidth() const;
+ inline long GetHeight() const;
Rectangle& Union( const Rectangle& rRect );
Rectangle& Intersection( const Rectangle& rRect );
- Rectangle GetUnion( const Rectangle& rRect ) const;
- Rectangle GetIntersection( const Rectangle& rRect ) const;
+ inline Rectangle GetUnion( const Rectangle& rRect ) const;
+ inline Rectangle GetIntersection( const Rectangle& rRect ) const;
void Justify();
- sal_Bool IsInside( const Point& rPOINT ) const;
- sal_Bool IsInside( const Rectangle& rRect ) const;
- sal_Bool IsOver( const Rectangle& rRect ) const;
+ sal_Bool IsInside( const Point& rPOINT ) const;
+ sal_Bool IsInside( const Rectangle& rRect ) const;
+ sal_Bool IsOver( const Rectangle& rRect ) const;
void SetEmpty() { nRight = nBottom = RECT_EMPTY; }
- sal_Bool IsEmpty() const;
+ inline sal_Bool IsEmpty() const;
- sal_Bool operator == ( const Rectangle& rRect ) const;
- sal_Bool operator != ( const Rectangle& rRect ) const;
+ inline sal_Bool operator == ( const Rectangle& rRect ) const;
+ inline sal_Bool operator != ( const Rectangle& rRect ) const;
- Rectangle& operator += ( const Point& rPt );
- Rectangle& operator -= ( const Point& rPt );
+ inline 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 );