diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-02 11:53:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-02 16:32:47 +0100 |
commit | c94f55488ce85091d3510db2717951ca52793174 (patch) | |
tree | 1856af554f666e5fd0cd54b1cc5008f27674636a /sd/source | |
parent | 2ec1dab4693cd45b475f02452114dd96ec0bda1b (diff) |
use css::embed::EmbedVerbs::MS_OLEVERB_PRIMARY instead of bare 0
Change-Id: I3fb67bcdaa27159790d36100f897efa7d43856ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110317
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/func/fupoor.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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 <slideshow.hxx> #include <LayerTabBar.hxx> +#include <com/sun/star/embed/EmbedVerbs.hpp> + #include <sfx2/viewfrm.hxx> #include <svx/svditer.hxx> @@ -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<SdrOle2Obj*>(pObj), css::embed::EmbedVerbs::MS_OLEVERB_PRIMARY); } else if( pObj && pObj->IsEmptyPresObj() && dynamic_cast< const SdrGrafObj *>( pObj ) != nullptr ) { |