From 7cc85bfd54645d3786828816972a2f039cb134e9 Mon Sep 17 00:00:00 2001 From: SalimHabchi Date: Wed, 11 Jul 2018 11:53:03 +0200 Subject: tdf#118453 Reactivate navitagor submenu drag mode and display I add a function to get the data from the submenu Change-Id: If8aedc72abfc7ca967377f0e588167f9f62fe137 Reviewed-on: https://gerrit.libreoffice.org/57269 Tested-by: Jenkins Reviewed-by: Katarina Behrens --- sc/source/ui/navipi/content.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index a0c709966c27..b800833e1b43 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -668,7 +668,7 @@ void ScContentTree::Command( const CommandEvent& rCEvt ) aPop->SetPopupMenu( 2, aDocMenu.get() ); sal_uInt16 nSelected = aPop->Execute(this, rCEvt.GetMousePosPixel()); - OString sIdent = aPop->GetItemIdent(nSelected); + OString sIdent = aPop->GetItemIdentFromSubMenu(nSelected); if (sIdent.startsWith("document")) { -- cgit