summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/fuins2.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <thorsten.behrens@CIB.de>2015-12-17 19:30:22 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2015-12-17 19:45:00 +0000
commit06726aa39eaeba71701742d28a1a81bd1574f883 (patch)
treebd00ee353b3f914935223bf286d3f8966c985516 /sc/source/ui/drawfunc/fuins2.cxx
parent6dd7798f57dfb29cda4a6d164f4884071fdc7f35 (diff)
[API CHANGE] Remove NPAPI-related UNO API
Follow-up to 4c18af27bf95b332ee2006cfc0bbf469fb1a84d4, related to tdf#96398, removing more client code. The following published interfaces are removed: com::sun::star::mozilla::XPluginInstance com::sun::star::mozilla::XPluginInstanceNotifySink com::sun::star::mozilla::XPluginInstancePeer com::sun::star::mozilla::XPluginInstanceSyncPeer com::sun::star::mozilla::XPluginWindowPeer com::sun::star::plugin::PluginDescription com::sun::star::plugin::PluginException com::sun::star::plugin::PluginManager com::sun::star::plugin::PluginMode com::sun::star::plugin::PluginVariable com::sun::star::plugin::XPlugin com::sun::star::plugin::XPluginContext com::sun::star::plugin::XPluginManager Change-Id: I3818a23e0f46fd01bfe9be11b57f6a551c013441 Reviewed-on: https://gerrit.libreoffice.org/20780 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sc/source/ui/drawfunc/fuins2.cxx')
-rw-r--r--sc/source/ui/drawfunc/fuins2.cxx38
1 files changed, 0 insertions, 38 deletions
diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx
index 05bbdd21479e..6c7899f980fa 100644
--- a/sc/source/ui/drawfunc/fuins2.cxx
+++ b/sc/source/ui/drawfunc/fuins2.cxx
@@ -262,44 +262,6 @@ FuInsertOLE::FuInsertOLE(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView*
break;
}
- case SID_INSERT_SOUND :
- case SID_INSERT_VIDEO :
- {
- // create special filedialog for plugins
- SvxPluginFileDlg aPluginFileDialog(pWin, nSlot);
-
- // open filedlg
- if ( ERRCODE_NONE == aPluginFileDialog.Execute() )
- {
- // get URL
- INetURLObject aURL;
- aURL.SetSmartProtocol( INetProtocol::File );
- if ( aURL.SetURL( aPluginFileDialog.GetPath() ) )
- {
- // create a plugin object
- OUString aObjName;
- SvGlobalName aClassId( SO3_PLUGIN_CLASSID );
- comphelper::EmbeddedObjectContainer aCnt( xStorage );
- xObj = aCnt.CreateEmbeddedObject( aClassId.GetByteSequence(), aObjName );
- if ( xObj.is() && svt::EmbeddedObjectRef::TryRunningState( xObj ) )
- {
- // set properties from dialog
- uno::Reference < beans::XPropertySet > xSet( xObj->getComponent(), uno::UNO_QUERY );
- if ( xSet.is() )
- {
- xSet->setPropertyValue("PluginURL",
- uno::makeAny( OUString( aURL.GetMainURL( INetURLObject::NO_DECODE ) ) ) );
- }
- }
- }
- else
- {
- OSL_FAIL("Invalid URL!");
- //! error message
- //! can this happen???
- }
- }
- }
}
}