summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-04 23:37:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-05 09:10:04 +0100
commite84e45ef361a5e03a1a69d15d27ebb61f7b1b5cb (patch)
treec98cb42b3ed94c82d6022a1c0add4e1cfd1984e9 /vcl
parentac16358c2afe36babcc64ea59ea44d42dc65fe5b (diff)
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I0177a0f50ba65553773f43a28e8790f7e1f8de9b
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/menu.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 546725aed72b..3c0a3e99d26e 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -2637,6 +2637,10 @@ bool MenuBar::HandleMenuButtonEvent( Menu *, sal_uInt16 i_nButtonId )
// bool PopupMenu::bAnyPopupInExecute = false;
+MenuFloatingWindow * PopupMenu::ImplGetFloatingWindow() const {
+ return static_cast<MenuFloatingWindow *>(Menu::ImplGetWindow());
+}
+
PopupMenu::PopupMenu()
: pRefAutoSubMenu(NULL)
{