summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-12-09 15:22:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-12-10 10:03:02 +0100
commit9e8789f2186d16a895cd659b321e5001ea239658 (patch)
treee77002a4bd43784548b31673dee46269e5dfe40e /extensions
parentb4f5dc552ae8fefa9fee0381399696e2c68bdec0 (diff)
remove use of non-existing slot:6661
seeing as this call does nothing since ~2006 see: commit 01552f1e77c67f70ffd879294288612f9ab64e3b Author: Stephan Bergmann <sbergman@redhat.com> Date: Fri Oct 17 16:58:26 2014 +0200 SID_TOGGLE_MENUBAR (aka slot:6661, .uno:MenuBarVisible) is dead ...since introduction of XLayoutManager's private:resource/menubar/menubar in 3fb2acf5b77bff59909f616c44c7de17048b64d7 "INTEGRATION: CWS layoutmanager (1.52.10); FILE MERGED" etc. and final removal of SID_TOGGLE_MENUBAR bits in f605b16e395e8ccc3d1aba7907b0792039016f69 "INTEGRATION: CWS sfxcleanup (1.119.8); FILE MERGED" etc. What still needs fixing are extensions/source/activex/SOActiveX.cxx odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java odk/examples/OLE/activex/SOActiveX.cpp in a similar way as e.g. 0273d3d81d29d5c1f6c387cca633cd99722c100e "INTEGRATION: CWS jl18 (1.6.8); FILE MERGED." these uses remain outstanding: odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java odk/examples/OLE/activex/SOActiveX.cpp Change-Id: Iad43b5adc6ae24e6d794ebef10ed7df476b4e5dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126622 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/activex/SOActiveX.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/extensions/source/activex/SOActiveX.cxx b/extensions/source/activex/SOActiveX.cxx
index 6e102cf51202..2d8dc2a73b91 100644
--- a/extensions/source/activex/SOActiveX.cxx
+++ b/extensions/source/activex/SOActiveX.cxx
@@ -801,13 +801,6 @@ HRESULT CSOActiveX::LoadURLToFrame( )
HRESULT hr = CallDispatchMethod( mCurFileUrl, aArgNames, aArgVals, nCount );
if( !SUCCEEDED( hr ) ) return hr;
- CComVariant aBarName( L"MenuBarVisible" );
- CComVariant aBarVis;
- aBarVis.vt = VT_BOOL; aBarVis.boolVal = VARIANT_FALSE;
- hr = CallDispatchMethod( L"slot:6661", &aBarName, &aBarVis, 1 );
- // does not work for some documents, but it is no error
- // if( !SUCCEEDED( hr ) ) return hr;
-
// try to get the model and set the presentation specific property, the setting will fail for other document formats
CComPtr<IDispatch> pdispController;
hr = GetIDispByFunc( mpDispFrame, L"getController", nullptr, 0, pdispController );