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

whitespace cleanup

Since I'm hacking in this file anyhow, make the class definition
a little prettier.

Change-Id: Id47f1084fe103e85cf1dacc84a9e536774767e61
üst c317b7f9
...@@ -41,8 +41,8 @@ public: ...@@ -41,8 +41,8 @@ public:
long& A() { return nA; } long& A() { return nA; }
long& B() { return nB; } 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& rIStream, Pair& rPair );
TOOLS_DLLPUBLIC friend SvStream& operator<<( SvStream& rOStream, const Pair& rPair ); TOOLS_DLLPUBLIC friend SvStream& operator<<( SvStream& rOStream, const Pair& rPair );
...@@ -88,10 +88,10 @@ public: ...@@ -88,10 +88,10 @@ public:
long& Y() { return nB; } long& Y() { return nB; }
void Move( long nHorzMove, long nVertMove ); void Move( long nHorzMove, long nVertMove );
sal_Bool IsAbove( const Point& rPoint ) const; sal_Bool IsAbove( const Point& rPoint ) const;
sal_Bool IsBelow( const Point& rPoint ) const; sal_Bool IsBelow( const Point& rPoint ) const;
sal_Bool IsLeft( const Point& rPoint ) const; sal_Bool IsLeft( const Point& rPoint ) const;
sal_Bool IsRight( const Point& rPoint ) const; sal_Bool IsRight( const Point& rPoint ) const;
Point& operator += ( const Point& rPoint ); Point& operator += ( const Point& rPoint );
Point& operator -= ( const Point& rPoint ); Point& operator -= ( const Point& rPoint );
...@@ -212,10 +212,10 @@ public: ...@@ -212,10 +212,10 @@ public:
long& Width() { return nA; } long& Width() { return nA; }
long& Height() { return nB; } long& Height() { return nB; }
long getWidth() const { return Width(); } long getWidth() const { return Width(); }
long getHeight() const { return Height(); } long getHeight() const { return Height(); }
void setWidth(long nWidth) { Width() = nWidth; } void setWidth(long nWidth) { Width() = nWidth; }
void setHeight(long nHeight) { Height() = nHeight; } void setHeight(long nHeight) { Height() = nHeight; }
}; };
inline Size::Size() inline Size::Size()
...@@ -251,7 +251,7 @@ public: ...@@ -251,7 +251,7 @@ public:
long& Min() { return nA; } long& Min() { return nA; }
long& Max() { return nB; } long& Max() { return nB; }
sal_Bool IsInside( long nIs ) const; sal_Bool IsInside( long nIs ) const;
void Justify(); void Justify();
}; };
...@@ -305,16 +305,16 @@ public: ...@@ -305,16 +305,16 @@ public:
long& Min() { return nA; } long& Min() { return nA; }
long& Max() { return nB; } long& Max() { return nB; }
sal_Bool IsInside( long nIs ) const; sal_Bool IsInside( long nIs ) const;
void Justify(); void Justify();
sal_Bool operator !() const { return !Len(); } sal_Bool operator !() const { return !Len(); }
long getMin() const { return Min(); } long getMin() const { return Min(); }
long getMax() const { return Max(); } long getMax() const { return Max(); }
void setMin(long nMin) { Min() = nMin; } void setMin(long nMin) { Min() = nMin; }
void setMax(long nMax) { Max() = nMax; } void setMax(long nMax) { Max() = nMax; }
}; };
inline Selection::Selection() inline Selection::Selection()
......
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