From 27b0d7237a7e2f32897fa52820c3aa382f6683e9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 19 Oct 2018 14:34:17 +0100 Subject: clarify this code a little MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I10a9f29add5cefa866cbe87e5c6164738ca57d04 Reviewed-on: https://gerrit.libreoffice.org/62019 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- embeddedobj/source/msole/oleembed.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'embeddedobj') diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx index 7f84b91ead18..72fb031d84a1 100644 --- a/embeddedobj/source/msole/oleembed.cxx +++ b/embeddedobj/source/msole/oleembed.cxx @@ -837,11 +837,8 @@ void SAL_CALL OleEmbeddedObject::doVerb( sal_Int32 nVerbID ) uno::Reference< embed::XEmbeddedObject > xWrappedObject = m_xWrappedObject; if ( xWrappedObject.is() ) { - // open content in the window not in-place - nVerbID = embed::EmbedVerbs::MS_OLEVERB_OPEN; - // the object was converted to OOo embedded object, the current implementation is now only a wrapper - xWrappedObject->doVerb( nVerbID ); + xWrappedObject->doVerb(embed::EmbedVerbs::MS_OLEVERB_OPEN); // open content in the window not in-place return; } // end wrapping related part ==================== -- cgit