vcl: tab cleanup of metric.hxx

Change-Id: I7d168f89fc8cb1b5b85c78e260a9ed786a437265
This commit is contained in:
Chris Sherlock
2014-10-04 13:29:56 +10:00
parent 24fb87501e
commit f33002aa5d

View File

@@ -128,23 +128,23 @@ class VCL_DLLPUBLIC TextRectInfo
friend class ::OutputDevice; friend class ::OutputDevice;
private: private:
long mnMaxWidth; long mnMaxWidth;
sal_uInt16 mnLineCount; sal_uInt16 mnLineCount;
bool mbEllipsis; bool mbEllipsis;
public: public:
TextRectInfo(); TextRectInfo();
sal_uInt16 GetLineCount() const { return mnLineCount; } sal_uInt16 GetLineCount() const { return mnLineCount; }
long GetMaxLineWidth() const { return mnMaxWidth; } long GetMaxLineWidth() const { return mnMaxWidth; }
bool IsEllipses() const { return mbEllipsis; } bool IsEllipses() const { return mbEllipsis; }
bool operator ==( const TextRectInfo& rInfo ) const bool operator ==( const TextRectInfo& rInfo ) const
{ return ((mnMaxWidth == rInfo.mnMaxWidth) && { return ((mnMaxWidth == rInfo.mnMaxWidth) &&
(mnLineCount == rInfo.mnLineCount) && (mnLineCount == rInfo.mnLineCount) &&
(mbEllipsis == rInfo.mbEllipsis)); } (mbEllipsis == rInfo.mbEllipsis)); }
bool operator !=( const TextRectInfo& rInfo ) const bool operator !=( const TextRectInfo& rInfo ) const
{ return !(TextRectInfo::operator==( rInfo )); } { return !(TextRectInfo::operator==( rInfo )); }
}; };
inline TextRectInfo::TextRectInfo() inline TextRectInfo::TextRectInfo()