summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-02-02 11:53:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-02-02 16:32:47 +0100
commitc94f55488ce85091d3510db2717951ca52793174 (patch)
tree1856af554f666e5fd0cd54b1cc5008f27674636a /sd
parent2ec1dab4693cd45b475f02452114dd96ec0bda1b (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')
-rw-r--r--sd/source/ui/func/fupoor.cxx4
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 )
{