summaryrefslogtreecommitdiff
path: root/include/svtools/ctrlbox.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-11 16:51:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-11 17:13:52 +0100
commit22347f6180cec13c2f1101300e4f0b45b6d1ae39 (patch)
treeceae6eba2378455731034de9ae497aa1cab49680 /include/svtools/ctrlbox.hxx
parentd55c0c902838540573e32a7cf34cd8c45587adb9 (diff)
Resolves: fdo#66815 avoid resetting the selection when values are unchanged
Change-Id: I88534e0b0e8302630193f77d2d85c4029a5a8f52
Diffstat (limited to 'include/svtools/ctrlbox.hxx')
-rw-r--r--include/svtools/ctrlbox.hxx8
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;