Kaydet (Commit) f9db57dd authored tarafından Tor Lillqvist's avatar Tor Lillqvist

ScMenuFloatingWindow::MENU_NOT_SELECTED can be constexpr

Change-Id: Idd07133385d6986b3ba09dd58b2d3bba3a17f822
üst f70665d6
......@@ -71,8 +71,6 @@ IMPL_LINK_NOARG(ScMenuFloatingWindow::SubMenuItemData, TimeoutHdl, Timer *, void
mpParent->handleMenuTimeout(this);
}
size_t ScMenuFloatingWindow::MENU_NOT_SELECTED = 999;
ScMenuFloatingWindow::ScMenuFloatingWindow(vcl::Window* pParent, ScDocument* pDoc, sal_uInt16 nMenuStackLevel) :
PopupMenuFloatingWindow(pParent),
maOpenTimer(this),
......
......@@ -37,7 +37,8 @@ class ScAccessibleFilterMenu;
class ScMenuFloatingWindow : public PopupMenuFloatingWindow
{
public:
static size_t MENU_NOT_SELECTED;
static constexpr size_t MENU_NOT_SELECTED = 999;
/**
* Action to perform when an event takes place. Create a sub-class of
* this to implement the desired action.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment