summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-02-12 14:15:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-02-12 15:58:49 +0100
commit4a6c72e3b1007e713b3797d23df60b3477a47072 (patch)
tree0ad64da470a1d38d5e387ce550095e8168b2be99 /svtools
parentcbc722733bb272b0f26efec09b478bed9a3cdb96 (diff)
Clean up EXTENSION_LISTBOX_ENTRY_NOTFOUND
Change-Id: Ie491835b854bf59694a20c4f94e2333b72142d08
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/extensionlistbox.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/inc/svtools/extensionlistbox.hxx b/svtools/inc/svtools/extensionlistbox.hxx
index 950aca2c77d3..0202312145de 100644
--- a/svtools/inc/svtools/extensionlistbox.hxx
+++ b/svtools/inc/svtools/extensionlistbox.hxx
@@ -28,8 +28,6 @@
namespace svt
{
-#define EXTENSION_LISTBOX_ENTRY_NOTFOUND (sal_Int32) 0xFFFFFFFF
-
// ============================================================================
/** This abstract class provides methods to implement an extension list box.
@@ -38,6 +36,8 @@ namespace svt
class IExtensionListBox: public Control
{
public:
+ enum { ENTRY_NOTFOUND = -1 };
+
IExtensionListBox( Window* pParent, WinBits nWinStyle = 0 ): Control( pParent, nWinStyle ){}
/** @return The count of the entries in the list box. */
@@ -45,7 +45,7 @@ public:
/** @return The index of the first selected entry in the list box.
When nothing is selected, which is the case when getItemCount returns '0',
- then this function returns EXTENSION_LISTBOX_ENTRY_NOTFOUND */
+ then this function returns ENTRY_NOTFOUND */
virtual sal_Int32 getSelIndex() const = 0;
/** @return The item name of the entry with the given index