summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
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 /sc/source/ui/view
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 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/gridwin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 337e269e6d13..81be88882264 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -40,8 +40,8 @@
#include <vcl/canvastools.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/cursor.hxx>
+#include <vcl/dialoghelper.hxx>
#include <vcl/inputctx.hxx>
-#include <vcl/menu.hxx>
#include <vcl/settings.hxx>
#include <vcl/virdev.hxx>
#include <vcl/weldutils.hxx>
@@ -1617,7 +1617,7 @@ void ScGridWindow::HandleMouseButtonDown( const MouseEvent& rMEvt, MouseEventSta
SfxInPlaceClient* pClient = pViewSh->GetIPClient();
if ( pClient &&
pClient->IsObjectInPlaceActive() &&
- PopupMenu::IsInExecute() )
+ vcl::IsInPopupMenuExecute() )
return;
aCurMousePos = rMEvt.GetPosPixel();