diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:03:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:26:30 +0100 |
commit | bfe54489398881bfbe569aa4d2162655ffca6ff4 (patch) | |
tree | 9cd87b1f6cdae381e948c7f2a00624f1ad01d846 /accessibility/inc | |
parent | f96f38f8f8d711ca3606a6ab2bbebcf8d830ffa6 (diff) |
bool improvements
Change-Id: I09ac60e907b7c0a78934dce05343e2ba2b6df49f
Diffstat (limited to 'accessibility/inc')
-rw-r--r-- | accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx | 2 | ||||
-rw-r--r-- | accessibility/inc/accessibility/helper/listboxhelper.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx b/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx index a4a88e6c194a..59443696c46b 100644 --- a/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx +++ b/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx @@ -53,7 +53,7 @@ namespace accessibility virtual bool IsEntryPosSelected( sal_uInt16 nPos ) const = 0; virtual sal_uInt16 GetEntryCount() const = 0; virtual void Select() = 0; - virtual void SelectEntryPos( sal_uInt16 nPos, bool bSelect = sal_True ) = 0; + virtual void SelectEntryPos( sal_uInt16 nPos, bool bSelect = true ) = 0; virtual sal_uInt16 GetSelectEntryCount() const = 0; virtual void SetNoSelection() = 0; virtual sal_uInt16 GetSelectEntryPos( sal_uInt16 nSelIndex = 0 ) const = 0; diff --git a/accessibility/inc/accessibility/helper/listboxhelper.hxx b/accessibility/inc/accessibility/helper/listboxhelper.hxx index f42bc266bba0..59a7bd6496ca 100644 --- a/accessibility/inc/accessibility/helper/listboxhelper.hxx +++ b/accessibility/inc/accessibility/helper/listboxhelper.hxx @@ -138,7 +138,7 @@ public: m_aComboListBox.Select(); } // ----------------------------------------------------------------------------- - virtual void SelectEntryPos( sal_uInt16 nPos, bool bSelect = sal_True ) + virtual void SelectEntryPos( sal_uInt16 nPos, bool bSelect = true ) { m_aComboListBox.SelectEntryPos(nPos,bSelect); } |