diff options
author | Noel Grandin <noel@peralex.com> | 2012-12-13 13:39:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2012-12-13 13:40:09 +0200 |
commit | 805ec83f188af51906a8d3a25ba9f5bc2e7f61c8 (patch) | |
tree | c84d205ec400dee1166e85312bb470c11129343e /tools | |
parent | c317b7f963f6d3fb2f325bc212c148d61b3dfa31 (diff) |
whitespace cleanup
Since I'm hacking in this file anyhow, make the class definition
a little prettier.
Change-Id: Id47f1084fe103e85cf1dacc84a9e536774767e61
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/gen.hxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/tools/inc/tools/gen.hxx b/tools/inc/tools/gen.hxx index 568d873d13ea..1819a90c7002 100644 --- a/tools/inc/tools/gen.hxx +++ b/tools/inc/tools/gen.hxx @@ -41,8 +41,8 @@ public: long& A() { return nA; } long& B() { return nB; } - sal_Bool operator == ( const Pair& rPair ) const; - sal_Bool operator != ( const Pair& rPair ) const; + sal_Bool operator == ( const Pair& rPair ) const; + sal_Bool operator != ( const Pair& rPair ) const; TOOLS_DLLPUBLIC friend SvStream& operator>>( SvStream& rIStream, Pair& rPair ); TOOLS_DLLPUBLIC friend SvStream& operator<<( SvStream& rOStream, const Pair& rPair ); @@ -88,10 +88,10 @@ public: long& Y() { return nB; } void Move( long nHorzMove, long nVertMove ); - sal_Bool IsAbove( const Point& rPoint ) const; - sal_Bool IsBelow( const Point& rPoint ) const; - sal_Bool IsLeft( const Point& rPoint ) const; - sal_Bool IsRight( const Point& rPoint ) const; + sal_Bool IsAbove( const Point& rPoint ) const; + sal_Bool IsBelow( const Point& rPoint ) const; + sal_Bool IsLeft( const Point& rPoint ) const; + sal_Bool IsRight( const Point& rPoint ) const; Point& operator += ( const Point& rPoint ); Point& operator -= ( const Point& rPoint ); @@ -212,10 +212,10 @@ public: long& Width() { return nA; } long& Height() { return nB; } - long getWidth() const { return Width(); } - long getHeight() const { return Height(); } - void setWidth(long nWidth) { Width() = nWidth; } - void setHeight(long nHeight) { Height() = nHeight; } + long getWidth() const { return Width(); } + long getHeight() const { return Height(); } + void setWidth(long nWidth) { Width() = nWidth; } + void setHeight(long nHeight) { Height() = nHeight; } }; inline Size::Size() @@ -251,7 +251,7 @@ public: long& Min() { return nA; } long& Max() { return nB; } - sal_Bool IsInside( long nIs ) const; + sal_Bool IsInside( long nIs ) const; void Justify(); }; @@ -305,16 +305,16 @@ public: long& Min() { return nA; } long& Max() { return nB; } - sal_Bool IsInside( long nIs ) const; + sal_Bool IsInside( long nIs ) const; void Justify(); - sal_Bool operator !() const { return !Len(); } + sal_Bool operator !() const { return !Len(); } - long getMin() const { return Min(); } - long getMax() const { return Max(); } - void setMin(long nMin) { Min() = nMin; } - void setMax(long nMax) { Max() = nMax; } + long getMin() const { return Min(); } + long getMax() const { return Max(); } + void setMin(long nMin) { Min() = nMin; } + void setMax(long nMax) { Max() = nMax; } }; inline Selection::Selection() |