diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 18:36:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-27 07:34:29 -0600 |
commit | 15246c959ae5ab4e124859a4d8981676f9eb657f (patch) | |
tree | 87813888699be2b850201725c45564c8c6423262 /extensions/source/plugin | |
parent | 710178094dfb21b0864335b1fa1a3401e4d82959 (diff) |
Remove visual noise from extensions
Change-Id: I0397d0d0e5343b7ed192a790664b068ac6955bd3
Reviewed-on: https://gerrit.libreoffice.org/8259
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions/source/plugin')
-rw-r--r-- | extensions/source/plugin/aqua/sysplug.mm | 42 | ||||
-rw-r--r-- | extensions/source/plugin/base/manager.cxx | 2 | ||||
-rw-r--r-- | extensions/source/plugin/base/multiplx.cxx | 4 | ||||
-rw-r--r-- | extensions/source/plugin/base/plctrl.cxx | 2 | ||||
-rw-r--r-- | extensions/source/plugin/base/plmodel.cxx | 2 | ||||
-rw-r--r-- | extensions/source/plugin/inc/plugin/aqua/sysplug.hxx | 2 | ||||
-rw-r--r-- | extensions/source/plugin/inc/plugin/plctrl.hxx | 2 | ||||
-rw-r--r-- | extensions/source/plugin/inc/plugin/win/sysplug.hxx | 2 |
8 files changed, 29 insertions, 29 deletions
diff --git a/extensions/source/plugin/aqua/sysplug.mm b/extensions/source/plugin/aqua/sysplug.mm index 304e716b685e..64e6d879c650 100644 --- a/extensions/source/plugin/aqua/sysplug.mm +++ b/extensions/source/plugin/aqua/sysplug.mm @@ -289,7 +289,7 @@ struct FakeEventRecord : public EventRecord @end -//-------------------------------------------------------------------------------------------------- + MacPluginComm::MacPluginComm( const rtl::OUString& i_rMimetype, const rtl::OUString& i_rBundle, NSView* i_pParent ) : PluginComm( OUStringToOString( i_rBundle, RTL_TEXTENCODING_UTF8 ) ), m_xBundle( NULL ), @@ -344,7 +344,7 @@ MacPluginComm::MacPluginComm( const rtl::OUString& i_rMimetype, const rtl::OUStr execute(); } -//-------------------------------------------------------------------------------------------------- + MacPluginComm::~MacPluginComm() { if( m_hPlugLib ) @@ -362,7 +362,7 @@ MacPluginComm::~MacPluginComm() CFRelease( m_xBundle ); } -//-------------------------------------------------------------------------------------------------- + sal_Bool MacPluginComm::retrieveFunction( const char* i_pName, void** o_ppFunc ) const { if( ! m_hPlugLib || ! o_ppFunc ) @@ -403,7 +403,7 @@ IMPL_LINK_NOARG(MacPluginComm, NullTimerHdl) return 0; } -//-------------------------------------------------------------------------------------------------- + long MacPluginComm::doIt() { @@ -588,7 +588,7 @@ long MacPluginComm::doIt() return nRet; } -//-------------------------------------------------------------------------------------------------- + NPError MacPluginComm::NPP_Destroy( XPlugin_Impl* i_pImpl, NPSavedData** save ) { // remove from NullEvent timer @@ -618,7 +618,7 @@ NPError MacPluginComm::NPP_Destroy( NPP instance, NPSavedData** save ) return (NPError)execute(); } -//-------------------------------------------------------------------------------------------------- + NPError MacPluginComm::NPP_DestroyStream( NPP instance, NPStream* stream, NPError reason ) { DBG_ASSERT( m_aNPPfuncs.destroystream, "### NPP_DestroyStream(): null pointer in NPP functions table!" ); @@ -629,7 +629,7 @@ NPError MacPluginComm::NPP_DestroyStream( NPP instance, NPStream* stream, NPErro return (NPError)execute(); } -//-------------------------------------------------------------------------------------------------- + NPError MacPluginComm::NPP_New( NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char* argn[], char* argv[], NPSavedData *saved ) { @@ -659,7 +659,7 @@ NPError MacPluginComm::NPP_New( NPMIMEType pluginType, NPP instance, uint16_t mo return (NPError)execute(); } -//-------------------------------------------------------------------------------------------------- + NPError MacPluginComm::NPP_NewStream( NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16_t* stype ) { @@ -673,7 +673,7 @@ NPError MacPluginComm::NPP_NewStream( NPP instance, NPMIMEType type, NPStream* s return (NPError)execute(); } -//-------------------------------------------------------------------------------------------------- + void MacPluginComm::NPP_Print( NPP instance, NPPrint* platformPrint ) { DBG_ASSERT( m_aNPPfuncs.print, "### NPP_Print(): null pointer in NPP functions table!" ); @@ -683,7 +683,7 @@ void MacPluginComm::NPP_Print( NPP instance, NPPrint* platformPrint ) execute(); } -//-------------------------------------------------------------------------------------------------- + NPError MacPluginComm::NPP_SetWindow( NPP instance, NPWindow* window ) { DBG_ASSERT( m_aNPPfuncs.setwindow, "### NPP_SetWindow(): null pointer in NPP functions table!" ); @@ -693,7 +693,7 @@ NPError MacPluginComm::NPP_SetWindow( NPP instance, NPWindow* window ) return (NPError)execute(); } -//-------------------------------------------------------------------------------------------------- + NPError MacPluginComm::NPP_HandleEvent( NPP instance, void* event ) { DBG_ASSERT( m_aNPPfuncs.event, "### NPP_HandleEvent(): null pointer in NPP functions table!" ); @@ -703,7 +703,7 @@ NPError MacPluginComm::NPP_HandleEvent( NPP instance, void* event ) return (NPError)execute(); } -//-------------------------------------------------------------------------------------------------- + void MacPluginComm::NPP_StreamAsFile( NPP instance, NPStream* stream, const char* fname ) { DBG_ASSERT( m_aNPPfuncs.asfile, "### NPP_StreamAsFile(): null pointer in NPP functions table!" ); @@ -714,7 +714,7 @@ void MacPluginComm::NPP_StreamAsFile( NPP instance, NPStream* stream, const char execute(); } -//-------------------------------------------------------------------------------------------------- + void MacPluginComm::NPP_URLNotify( NPP instance, const char* url, NPReason reason, void* notifyData ) { DBG_ASSERT( m_aNPPfuncs.urlnotify, "### NPP_URLNotify(): null pointer in NPP functions table!" ); @@ -726,7 +726,7 @@ void MacPluginComm::NPP_URLNotify( NPP instance, const char* url, NPReason reaso execute(); } -//-------------------------------------------------------------------------------------------------- + int32_t MacPluginComm::NPP_Write( NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer ) { DBG_ASSERT( m_aNPPfuncs.write, "### NPP_Write(): null pointer in NPP functions table!" ); @@ -739,7 +739,7 @@ int32_t MacPluginComm::NPP_Write( NPP instance, NPStream* stream, int32_t offset return (NPError)execute(); } -//-------------------------------------------------------------------------------------------------- + int32_t MacPluginComm::NPP_WriteReady( NPP instance, NPStream* stream ) { DBG_ASSERT( m_aNPPfuncs.writeready, "### NPP_WriteReady(): null pointer in NPP functions table!" ); @@ -749,7 +749,7 @@ int32_t MacPluginComm::NPP_WriteReady( NPP instance, NPStream* stream ) return execute(); } -//-------------------------------------------------------------------------------------------------- + NPError MacPluginComm::NPP_GetValue( NPP instance, NPPVariable variable, void *ret_value ) { DBG_ASSERT( m_aNPPfuncs.getvalue, "### NPP_GetValue(): null pointer in NPP functions table!" ); @@ -760,7 +760,7 @@ NPError MacPluginComm::NPP_GetValue( NPP instance, NPPVariable variable, void *r return (NPError)execute(); } -//-------------------------------------------------------------------------------------------------- + NPError MacPluginComm::NPP_SetValue( NPP instance, NPNVariable variable, void *set_value ) { DBG_ASSERT( m_aNPPfuncs.setvalue, "### NPP_SetValue(): null pointer in NPP functions table!" ); @@ -771,27 +771,27 @@ NPError MacPluginComm::NPP_SetValue( NPP instance, NPNVariable variable, void *s return (NPError)execute(); } -//-------------------------------------------------------------------------------------------------- + void * MacPluginComm::NPP_GetJavaClass() { OSL_FAIL( "no java class available!" ); return 0; } -//-------------------------------------------------------------------------------------------------- + NPError MacPluginComm::NPP_Initialize() { return NPERR_NO_ERROR; } -//-------------------------------------------------------------------------------------------------- + void MacPluginComm::NPP_Shutdown() { m_eCall = eNPP_Shutdown; execute(); } -//-------------------------------------------------------------------------------------------------- + NPError MacPluginComm::NPP_SetWindow( XPlugin_Impl* i_pImpl ) { // update window NPWindow from view diff --git a/extensions/source/plugin/base/manager.cxx b/extensions/source/plugin/base/manager.cxx index f0c55cfdefff..b5039b1096dd 100644 --- a/extensions/source/plugin/base/manager.cxx +++ b/extensions/source/plugin/base/manager.cxx @@ -97,7 +97,7 @@ const Sequence< OUString >& PluginManager::getAdditionalSearchPaths() return aPaths; } -//================================================================================================== + Reference< XInterface > SAL_CALL PluginManager_CreateInstance( const Reference< ::com::sun::star::lang::XMultiServiceFactory > & rSMgr ) throw( Exception ) { Reference< XInterface > xService = *new XPluginManager_Impl( comphelper::getComponentContext(rSMgr) ); diff --git a/extensions/source/plugin/base/multiplx.cxx b/extensions/source/plugin/base/multiplx.cxx index ddc92b955701..48920c79a9e2 100644 --- a/extensions/source/plugin/base/multiplx.cxx +++ b/extensions/source/plugin/base/multiplx.cxx @@ -29,9 +29,9 @@ #include <osl/diagnose.h> #include <plugin/multiplx.hxx> -// --------------------------------------------------------------------- + // class MRCListenerMultiplexerHelper -// --------------------------------------------------------------------- + MRCListenerMultiplexerHelper::MRCListenerMultiplexerHelper ( const Reference< ::com::sun::star::awt::XWindow > & rControl diff --git a/extensions/source/plugin/base/plctrl.cxx b/extensions/source/plugin/base/plctrl.cxx index 56085ed6beb4..9fe78215d295 100644 --- a/extensions/source/plugin/base/plctrl.cxx +++ b/extensions/source/plugin/base/plctrl.cxx @@ -63,7 +63,7 @@ MRCListenerMultiplexerHelper* PluginControl_Impl::getMultiplexer() _pMultiplexer = new MRCListenerMultiplexerHelper( this, _xPeerWindow ); return _pMultiplexer; } -//================================================================================================== + void PluginControl_Impl::addEventListener( const Reference< ::com::sun::star::lang::XEventListener > & l ) throw( RuntimeException, std::exception ) diff --git a/extensions/source/plugin/base/plmodel.cxx b/extensions/source/plugin/base/plmodel.cxx index a42ffce99c12..f773577c5f5f 100644 --- a/extensions/source/plugin/base/plmodel.cxx +++ b/extensions/source/plugin/base/plmodel.cxx @@ -31,7 +31,7 @@ using namespace com::sun::star::uno; -//================================================================================================== + Reference< XInterface > SAL_CALL PluginModel_CreateInstance( const Reference< ::com::sun::star::lang::XMultiServiceFactory > & ) throw( Exception ) { Reference< XInterface > xService = *new PluginModel(); diff --git a/extensions/source/plugin/inc/plugin/aqua/sysplug.hxx b/extensions/source/plugin/inc/plugin/aqua/sysplug.hxx index f93300f34e34..c4ee3723b60c 100644 --- a/extensions/source/plugin/inc/plugin/aqua/sysplug.hxx +++ b/extensions/source/plugin/inc/plugin/aqua/sysplug.hxx @@ -69,7 +69,7 @@ CFURLRef createURLFromPath( const OUString& i_rPath ); OUString CFURLtoOSLURL( CFURLRef i_xURL ); } -//================================================================================================== + class MacPluginComm : public PluginComm, public ::vcl::SolarThreadExecutor diff --git a/extensions/source/plugin/inc/plugin/plctrl.hxx b/extensions/source/plugin/inc/plugin/plctrl.hxx index 67f5764e0ad0..8af8873db882 100644 --- a/extensions/source/plugin/inc/plugin/plctrl.hxx +++ b/extensions/source/plugin/inc/plugin/plctrl.hxx @@ -65,7 +65,7 @@ class SystemChildWindow; -//================================================================================================== + class PluginControl_Impl : public ::cppu::WeakAggImplHelper4< ::com::sun::star::awt::XControl, ::com::sun::star::awt::XWindow, diff --git a/extensions/source/plugin/inc/plugin/win/sysplug.hxx b/extensions/source/plugin/inc/plugin/win/sysplug.hxx index 0c08e569902b..509c77e3a3f5 100644 --- a/extensions/source/plugin/inc/plugin/win/sysplug.hxx +++ b/extensions/source/plugin/inc/plugin/win/sysplug.hxx @@ -56,7 +56,7 @@ #include <plugin/plcom.hxx> #include <vcl/threadex.hxx> -//================================================================================================== + class PluginComm_Impl : public PluginComm, public ::vcl::SolarThreadExecutor |