diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-16 19:33:20 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-16 20:51:17 +0200 |
commit | 8133aa39939bd65c7c4078ff002ab88675e84ccc (patch) | |
tree | e434f496217904fd1a3ffaf457eb70e29017079c /embeddedobj | |
parent | 7422ef83a1304d34cd303a7160efd4e76cc44a49 (diff) |
Fix a forgotten return of the value
... ever since its introduction in commit
5ea5c0afebd272d5f44e6524c0f67b5317639919
Change-Id: Ic2f082db43c961185921137c6b64b2e1abef28e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123704
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/msole/oleembed.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx index ba678d4dfb87..01cf44b9fcaa 100644 --- a/embeddedobj/source/msole/oleembed.cxx +++ b/embeddedobj/source/msole/oleembed.cxx @@ -110,8 +110,7 @@ uno::Sequence< sal_Int32 > OleEmbeddedObject::GetIntermediateVerbsSequence_Impl( // actually there will be only one verb if ( m_nObjectState == embed::EmbedStates::RUNNING && nNewState == embed::EmbedStates::ACTIVE ) { - uno::Sequence< sal_Int32 > aVerbs( 1 ); - aVerbs[0] = embed::EmbedVerbs::MS_OLEVERB_OPEN; + return { embed::EmbedVerbs::MS_OLEVERB_OPEN }; } return uno::Sequence< sal_Int32 >(); |