summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-14 14:33:10 +0200
committerNoel Grandin <noel@peralex.com>2015-05-15 10:05:02 +0200
commit4f4cff08aac32db6fa580423b5fde661c8b0743a (patch)
treecf91ac27509e32e724b87387bf07d6c8d35b695b /toolkit
parent24181bfb0b49a011e201ecc111bac3b48ad5a1ff (diff)
convert POPUPMENU_ constants to scoped enum
Change-Id: I4cdaf36581d1e1daa39929e621070d18a9996852
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxmenu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx
index bd76ce30d7bd..e6a93f27b62d 100644
--- a/toolkit/source/awt/vclxmenu.cxx
+++ b/toolkit/source/awt/vclxmenu.cxx
@@ -539,7 +539,7 @@ throw(css::uno::RuntimeException, std::exception)
{
nRet = static_cast<PopupMenu*>(mpMenu)->Execute( VCLUnoHelper::GetWindow( rxWindowPeer ),
VCLRectangle( rPos ),
- nFlags | POPUPMENU_NOMOUSEUPCLOSE );
+ static_cast<PopupMenuFlags>(nFlags) | PopupMenuFlags::NoMouseUpClose );
}
return nRet;
}