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 /sc/source/ui/drawfunc/fusel.cxx | |
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 'sc/source/ui/drawfunc/fusel.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/fusel.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx index dca0beaa1ef1..b42979a3ba56 100644 --- a/sc/source/ui/drawfunc/fusel.cxx +++ b/sc/source/ui/drawfunc/fusel.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <com/sun/star/embed/EmbedVerbs.hpp> #include <editeng/flditem.hxx> #include <svx/svddrgmt.hxx> #include <svx/svdoole2.hxx> @@ -467,7 +468,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) { if (static_cast<SdrOle2Obj*>(pObj)->GetObjRef().is()) { - rViewShell.ActivateObject( static_cast<SdrOle2Obj*>(pObj), 0 ); + rViewShell.ActivateObject(static_cast<SdrOle2Obj*>(pObj), css::embed::EmbedVerbs::MS_OLEVERB_PRIMARY); } } } |