summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/dpcontrol.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei@openoffice.org>2009-08-22 03:13:19 +0000
committerKohei Yoshida <kohei@openoffice.org>2009-08-22 03:13:19 +0000
commitaa18040a8e2db3b1c51e6de4ea34f73efa96a447 (patch)
tree34eb5eec60a26c7bc05cc2dadd9e224c8fccb793 /sc/source/ui/inc/dpcontrol.hxx
parent514d004f7422f4103d8574b7339c22345a5e6c7c (diff)
code cleanup.
Diffstat (limited to 'sc/source/ui/inc/dpcontrol.hxx')
-rw-r--r--sc/source/ui/inc/dpcontrol.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/inc/dpcontrol.hxx b/sc/source/ui/inc/dpcontrol.hxx
index 55afc0470c64..dbbbcb55ed49 100644
--- a/sc/source/ui/inc/dpcontrol.hxx
+++ b/sc/source/ui/inc/dpcontrol.hxx
@@ -103,6 +103,7 @@ private:
class ScMenuFloatingWindow : public FloatingWindow
{
public:
+ static size_t MENU_NOT_SELECTED;
/**
* Action to perform when an event takes place. Create a sub-class of
* this to implement the desired action.
@@ -133,6 +134,7 @@ public:
::rtl::OUString getMenuItemName(size_t nPos) const;
bool isMenuItemEnabled(size_t nPos) const;
bool isMenuItemSelected(size_t nPos) const;
+ size_t getSelectedMenuItem() const;
void setName(const ::rtl::OUString& rName);
const ::rtl::OUString& getName() const;
@@ -145,7 +147,6 @@ protected:
void drawAllMenuItems();
const Font& getLabelFont() const;
- size_t getSelectedMenuPos() const;
void queueLaunchSubMenu(size_t nPos, ScMenuFloatingWindow* pMenu);
void queueCloseSubMenu();
void launchSubMenu(bool bSetMenuPos);