summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-11-29 09:40:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-11-29 17:24:40 +0100
commit3e8bfde1e1dd859d4c09337605f92db24a142e44 (patch)
treee58a976c31395c08757a16f0fa561114622ce32f /toolkit
parent774c6a6e1603bf3f12f1573b0778e0f0f9783169 (diff)
move PopupMenu::IsInExecute out of vcl/include/menu.hxx
Change-Id: I01af38dd57a645ea0afeaff033ce6d07dfe09535 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126026 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxmenu.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx
index 02f693ef64a7..31c0f7f08edf 100644
--- a/toolkit/source/awt/vclxmenu.cxx
+++ b/toolkit/source/awt/vclxmenu.cxx
@@ -28,6 +28,7 @@
#include <cppuhelper/typeprovider.hxx>
#include <osl/mutex.hxx>
#include <tools/debug.hxx>
+#include <vcl/dialoghelper.hxx>
#include <vcl/graph.hxx>
#include <vcl/menu.hxx>
#include <vcl/keycod.hxx>
@@ -661,7 +662,7 @@ sal_Bool SAL_CALL VCLXMenu::isInExecute( )
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
if ( mpMenu && IsPopupMenu() )
- return PopupMenu::IsInExecute();
+ return vcl::IsInPopupMenuExecute();
else
return false;
}