From c94f55488ce85091d3510db2717951ca52793174 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 2 Feb 2021 11:53:04 +0000 Subject: use css::embed::EmbedVerbs::MS_OLEVERB_PRIMARY instead of bare 0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3fb67bcdaa27159790d36100f897efa7d43856ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110317 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sd/source/ui/func/fupoor.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sd') diff --git a/sd/source/ui/func/fupoor.cxx b/sd/source/ui/func/fupoor.cxx index 3b0a81870672..7d1728be115e 100644 --- a/sd/source/ui/func/fupoor.cxx +++ b/sd/source/ui/func/fupoor.cxx @@ -40,6 +40,8 @@ #include #include +#include + #include #include @@ -238,7 +240,7 @@ bool FuPoor::KeyInput(const KeyEvent& rKEvt) if( dynamic_cast< const SdrOle2Obj* >( pObj ) && !mpDocSh->IsUIActive() ) { //HMHmpView->HideMarkHdl(); - mpViewShell->ActivateObject( static_cast< SdrOle2Obj* >( pObj ), 0 ); + mpViewShell->ActivateObject(static_cast(pObj), css::embed::EmbedVerbs::MS_OLEVERB_PRIMARY); } else if( pObj && pObj->IsEmptyPresObj() && dynamic_cast< const SdrGrafObj *>( pObj ) != nullptr ) { -- cgit