diff options
Diffstat (limited to 'include/svtools/ctrlbox.hxx')
-rw-r--r-- | include/svtools/ctrlbox.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx index ac3e2061c824..c83a94eb6425 100644 --- a/include/svtools/ctrlbox.hxx +++ b/include/svtools/ctrlbox.hxx @@ -325,6 +325,7 @@ public: /** Set the width in Twips */ void SetWidth( long nWidth ); + long GetWidth() const { return m_nWidth; } void SetNone( const XubString& sNone ); using ListBox::InsertEntry; @@ -356,7 +357,7 @@ public: inline FieldUnit GetSourceUnit() const { return eSourceUnit; } void SetColor( const Color& rColor ); - inline Color GetColor( void ) const; + Color GetColor() const { return aColor; } protected: @@ -389,11 +390,6 @@ inline void LineListBox::SetColor( const Color& rColor ) UpdateEntries( m_nWidth ); } -inline Color LineListBox::GetColor( void ) const -{ - return aColor; -} - const Color& LineListBox::GetPaintColor( void ) const { return maPaintCol; |