summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorSalimHabchi <salim.habchi@epitech.eu>2018-07-11 11:53:03 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-07-23 10:16:38 +0200
commit7cc85bfd54645d3786828816972a2f039cb134e9 (patch)
treedf64ec4b88ff26ebe26e19e7089b27ea31cc3df6 /sc
parent110a25fdc2b0dc16c9b376fa6a9fdeb5fe7a58fb (diff)
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 <Katarina.Behrens@cib.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/navipi/content.cxx2
1 files changed, 1 insertions, 1 deletions
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"))
{