diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-22 21:20:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 03:38:49 +0000 |
commit | 0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch) | |
tree | 5024cba9f9ea5e3b23ea26025323f6aef39488d0 /scripting | |
parent | b81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff) |
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/basprov/baslibnode.cxx | 14 | ||||
-rw-r--r-- | scripting/source/basprov/basmethnode.cxx | 48 | ||||
-rw-r--r-- | scripting/source/basprov/basmodnode.cxx | 14 | ||||
-rw-r--r-- | scripting/source/basprov/basprov.cxx | 28 | ||||
-rw-r--r-- | scripting/source/basprov/basscript.cxx | 36 | ||||
-rw-r--r-- | scripting/source/dlgprov/dlgevtatt.cxx | 40 | ||||
-rw-r--r-- | scripting/source/dlgprov/dlgprov.cxx | 26 | ||||
-rw-r--r-- | scripting/source/provider/BrowseNodeFactoryImpl.cxx | 4 | ||||
-rw-r--r-- | scripting/source/provider/ScriptingContext.cxx | 14 | ||||
-rw-r--r-- | scripting/source/stringresource/stringresource.cxx | 54 | ||||
-rw-r--r-- | scripting/source/vbaevents/service.cxx | 4 |
11 files changed, 141 insertions, 141 deletions
diff --git a/scripting/source/basprov/baslibnode.cxx b/scripting/source/basprov/baslibnode.cxx index 783c53ecc0d0..92010fb993f6 100644 --- a/scripting/source/basprov/baslibnode.cxx +++ b/scripting/source/basprov/baslibnode.cxx @@ -58,15 +58,15 @@ namespace basprov } } - // ----------------------------------------------------------------------------- + BasicLibraryNodeImpl::~BasicLibraryNodeImpl() { } - // ----------------------------------------------------------------------------- + // XBrowseNode - // ----------------------------------------------------------------------------- + OUString BasicLibraryNodeImpl::getName( ) throw (RuntimeException) { @@ -75,7 +75,7 @@ namespace basprov return m_sLibName; } - // ----------------------------------------------------------------------------- + Sequence< Reference< browse::XBrowseNode > > BasicLibraryNodeImpl::getChildNodes( ) throw (RuntimeException) { @@ -109,7 +109,7 @@ namespace basprov return aChildNodes; } - // ----------------------------------------------------------------------------- + sal_Bool BasicLibraryNodeImpl::hasChildNodes( ) throw (RuntimeException) { @@ -122,7 +122,7 @@ namespace basprov return bReturn; } - // ----------------------------------------------------------------------------- + sal_Int16 BasicLibraryNodeImpl::getType( ) throw (RuntimeException) { @@ -131,7 +131,7 @@ namespace basprov return browse::BrowseNodeTypes::CONTAINER; } - // ----------------------------------------------------------------------------- + //......................................................................... } // namespace basprov diff --git a/scripting/source/basprov/basmethnode.cxx b/scripting/source/basprov/basmethnode.cxx index 40f46cefea81..1837e6a5b4cb 100644 --- a/scripting/source/basprov/basmethnode.cxx +++ b/scripting/source/basprov/basmethnode.cxx @@ -95,27 +95,27 @@ namespace basprov registerProperty( BASPROV_PROPERTY_EDITABLE, BASPROV_PROPERTY_ID_EDITABLE, BASPROV_DEFAULT_ATTRIBS(), &m_bEditable, ::getCppuType( &m_bEditable ) ); } - // ----------------------------------------------------------------------------- + BasicMethodNodeImpl::~BasicMethodNodeImpl() { } - // ----------------------------------------------------------------------------- + // XInterface - // ----------------------------------------------------------------------------- + IMPLEMENT_FORWARD_XINTERFACE2( BasicMethodNodeImpl, BasicMethodNodeImpl_BASE, OPropertyContainer ) - // ----------------------------------------------------------------------------- + // XTypeProvider - // ----------------------------------------------------------------------------- + IMPLEMENT_FORWARD_XTYPEPROVIDER2( BasicMethodNodeImpl, BasicMethodNodeImpl_BASE, OPropertyContainer ) - // ----------------------------------------------------------------------------- + // XBrowseNode - // ----------------------------------------------------------------------------- + OUString BasicMethodNodeImpl::getName( ) throw (RuntimeException) { @@ -128,7 +128,7 @@ namespace basprov return sMethodName; } - // ----------------------------------------------------------------------------- + Sequence< Reference< browse::XBrowseNode > > BasicMethodNodeImpl::getChildNodes( ) throw (RuntimeException) { @@ -137,7 +137,7 @@ namespace basprov return Sequence< Reference< browse::XBrowseNode > >(); } - // ----------------------------------------------------------------------------- + sal_Bool BasicMethodNodeImpl::hasChildNodes( ) throw (RuntimeException) { @@ -146,7 +146,7 @@ namespace basprov return sal_False; } - // ----------------------------------------------------------------------------- + sal_Int16 BasicMethodNodeImpl::getType( ) throw (RuntimeException) { @@ -155,18 +155,18 @@ namespace basprov return browse::BrowseNodeTypes::SCRIPT; } - // ----------------------------------------------------------------------------- + // OPropertySetHelper - // ----------------------------------------------------------------------------- + ::cppu::IPropertyArrayHelper& BasicMethodNodeImpl::getInfoHelper( ) { return *getArrayHelper(); } - // ----------------------------------------------------------------------------- + // OPropertyArrayUsageHelper - // ----------------------------------------------------------------------------- + ::cppu::IPropertyArrayHelper* BasicMethodNodeImpl::createArrayHelper( ) const { @@ -175,9 +175,9 @@ namespace basprov return new ::cppu::OPropertyArrayHelper( aProps ); } - // ----------------------------------------------------------------------------- + // XPropertySet - // ----------------------------------------------------------------------------- + Reference< XPropertySetInfo > BasicMethodNodeImpl::getPropertySetInfo( ) throw (RuntimeException) { @@ -185,16 +185,16 @@ namespace basprov return xInfo; } - // ----------------------------------------------------------------------------- + // XInvocation - // ----------------------------------------------------------------------------- + Reference< XIntrospectionAccess > BasicMethodNodeImpl::getIntrospection( ) throw (RuntimeException) { return Reference< XIntrospectionAccess >(); } - // ----------------------------------------------------------------------------- + Any BasicMethodNodeImpl::invoke( const OUString& aFunctionName, const Sequence< Any >& aParams, Sequence< sal_Int16 >& aOutParamIndex, Sequence< Any >& aOutParam ) @@ -283,7 +283,7 @@ namespace basprov return Any(); } - // ----------------------------------------------------------------------------- + void BasicMethodNodeImpl::setValue( const OUString& aPropertyName, const Any& aValue ) throw (UnknownPropertyException, script::CannotConvertException, @@ -297,7 +297,7 @@ namespace basprov Reference< XInterface >() ); } - // ----------------------------------------------------------------------------- + Any BasicMethodNodeImpl::getValue( const OUString& aPropertyName ) throw (UnknownPropertyException, RuntimeException) { @@ -308,7 +308,7 @@ namespace basprov Reference< XInterface >() ); } - // ----------------------------------------------------------------------------- + sal_Bool BasicMethodNodeImpl::hasMethod( const OUString& aName ) throw (RuntimeException) { @@ -319,7 +319,7 @@ namespace basprov return bReturn; } - // ----------------------------------------------------------------------------- + sal_Bool BasicMethodNodeImpl::hasProperty( const OUString& aName ) throw (RuntimeException) { @@ -328,7 +328,7 @@ namespace basprov return sal_False; } - // ----------------------------------------------------------------------------- + //......................................................................... } // namespace basprov diff --git a/scripting/source/basprov/basmodnode.cxx b/scripting/source/basprov/basmodnode.cxx index 13981b5c6e20..3a94833ab26a 100644 --- a/scripting/source/basprov/basmodnode.cxx +++ b/scripting/source/basprov/basmodnode.cxx @@ -52,15 +52,15 @@ namespace basprov { } - // ----------------------------------------------------------------------------- + BasicModuleNodeImpl::~BasicModuleNodeImpl() { } - // ----------------------------------------------------------------------------- + // XBrowseNode - // ----------------------------------------------------------------------------- + OUString BasicModuleNodeImpl::getName( ) throw (RuntimeException) { @@ -73,7 +73,7 @@ namespace basprov return sModuleName; } - // ----------------------------------------------------------------------------- + Sequence< Reference< browse::XBrowseNode > > BasicModuleNodeImpl::getChildNodes( ) throw (RuntimeException) { @@ -110,7 +110,7 @@ namespace basprov return aChildNodes; } - // ----------------------------------------------------------------------------- + sal_Bool BasicModuleNodeImpl::hasChildNodes( ) throw (RuntimeException) { @@ -127,7 +127,7 @@ namespace basprov return bReturn; } - // ----------------------------------------------------------------------------- + sal_Int16 BasicModuleNodeImpl::getType( ) throw (RuntimeException) { @@ -136,7 +136,7 @@ namespace basprov return browse::BrowseNodeTypes::CONTAINER; } - // ----------------------------------------------------------------------------- + //......................................................................... } // namespace basprov diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx index 5622ba566f5b..f7f4bd9320a8 100644 --- a/scripting/source/basprov/basprov.cxx +++ b/scripting/source/basprov/basprov.cxx @@ -82,7 +82,7 @@ namespace basprov return *pImplName; } - // ----------------------------------------------------------------------------- + static Sequence< OUString > getSupportedServiceNames_BasicProviderImpl() { @@ -118,13 +118,13 @@ namespace basprov { } - // ----------------------------------------------------------------------------- + BasicProviderImpl::~BasicProviderImpl() { } - // ----------------------------------------------------------------------------- + bool BasicProviderImpl::isLibraryShared( const Reference< script::XLibraryContainer >& rxLibContainer, const OUString& rLibName ) { @@ -197,9 +197,9 @@ namespace basprov return getSupportedServiceNames_BasicProviderImpl(); } - // ----------------------------------------------------------------------------- + // XInitialization - // ----------------------------------------------------------------------------- + void BasicProviderImpl::initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException) { @@ -288,10 +288,10 @@ namespace basprov m_xLibContainerApp = Reference< script::XLibraryContainer >( SFX_APP()->GetBasicContainer(), UNO_QUERY ); } - // ----------------------------------------------------------------------------- + // XScriptProvider - // ----------------------------------------------------------------------------- + Reference < provider::XScript > BasicProviderImpl::getScript( const OUString& scriptURI ) throw ( provider::ScriptFrameworkErrorException, RuntimeException) @@ -413,9 +413,9 @@ namespace basprov return xScript; } - // ----------------------------------------------------------------------------- + // XBrowseNode - // ----------------------------------------------------------------------------- + OUString BasicProviderImpl::getName( ) throw (RuntimeException) { @@ -426,7 +426,7 @@ namespace basprov return OUString("Basic"); } - // ----------------------------------------------------------------------------- + Sequence< Reference< browse::XBrowseNode > > BasicProviderImpl::getChildNodes( ) throw (RuntimeException) { @@ -484,7 +484,7 @@ namespace basprov return aChildNodes; } - // ----------------------------------------------------------------------------- + sal_Bool BasicProviderImpl::hasChildNodes( ) throw (RuntimeException) { @@ -506,7 +506,7 @@ namespace basprov return bReturn; } - // ----------------------------------------------------------------------------- + sal_Int16 BasicProviderImpl::getType( ) throw (RuntimeException) { @@ -526,7 +526,7 @@ namespace basprov return static_cast< lang::XTypeProvider * >( new BasicProviderImpl( xContext ) ); } - // ----------------------------------------------------------------------------- + static struct ::cppu::ImplementationEntry s_component_entries [] = { @@ -538,7 +538,7 @@ namespace basprov { 0, 0, 0, 0, 0, 0 } }; - // ----------------------------------------------------------------------------- + //......................................................................... } // namespace basprov diff --git a/scripting/source/basprov/basscript.cxx b/scripting/source/basprov/basscript.cxx index 5a85b303fba7..482a64e81e87 100644 --- a/scripting/source/basprov/basscript.cxx +++ b/scripting/source/basprov/basscript.cxx @@ -57,7 +57,7 @@ namespace basprov // BasicScriptImpl // ============================================================================= - // ----------------------------------------------------------------------------- + BasicScriptImpl::BasicScriptImpl( const OUString& funcName, SbMethodRef xMethod ) : ::scripting_helper::OBroadcastHelperHolder( m_aMutex ) @@ -70,7 +70,7 @@ namespace basprov registerProperty( BASSCRIPT_PROPERTY_CALLER, BASSCRIPT_PROPERTY_ID_CALLER, BASSCRIPT_DEFAULT_ATTRIBS(), &m_caller, ::getCppuType( &m_caller ) ); } - // ----------------------------------------------------------------------------- + BasicScriptImpl::BasicScriptImpl( const OUString& funcName, SbMethodRef xMethod, BasicManager& documentBasicManager, const Reference< XScriptInvocationContext >& documentScriptContext ) : ::scripting_helper::OBroadcastHelperHolder( m_aMutex ) @@ -84,16 +84,16 @@ namespace basprov registerProperty( BASSCRIPT_PROPERTY_CALLER, BASSCRIPT_PROPERTY_ID_CALLER, BASSCRIPT_DEFAULT_ATTRIBS(), &m_caller, ::getCppuType( &m_caller ) ); } - // ----------------------------------------------------------------------------- + BasicScriptImpl::~BasicScriptImpl() { if ( m_documentBasicManager ) EndListening( *m_documentBasicManager ); } - // ----------------------------------------------------------------------------- + // SfxListener - // ----------------------------------------------------------------------------- + void BasicScriptImpl::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) { if ( &rBC != m_documentBasicManager ) @@ -110,30 +110,30 @@ namespace basprov } } - // ----------------------------------------------------------------------------- + // XInterface - // ----------------------------------------------------------------------------- + IMPLEMENT_FORWARD_XINTERFACE2( BasicScriptImpl, BasicScriptImpl_BASE, OPropertyContainer ) - // ----------------------------------------------------------------------------- + // XTypeProvider - // ----------------------------------------------------------------------------- + IMPLEMENT_FORWARD_XTYPEPROVIDER2( BasicScriptImpl, BasicScriptImpl_BASE, OPropertyContainer ) - // ----------------------------------------------------------------------------- + // OPropertySetHelper - // ----------------------------------------------------------------------------- + ::cppu::IPropertyArrayHelper& BasicScriptImpl::getInfoHelper( ) { return *getArrayHelper(); } - // ----------------------------------------------------------------------------- + // OPropertyArrayUsageHelper - // ----------------------------------------------------------------------------- + ::cppu::IPropertyArrayHelper* BasicScriptImpl::createArrayHelper( ) const { @@ -142,9 +142,9 @@ namespace basprov return new ::cppu::OPropertyArrayHelper( aProps ); } - // ----------------------------------------------------------------------------- + // XPropertySet - // ----------------------------------------------------------------------------- + Reference< XPropertySetInfo > BasicScriptImpl::getPropertySetInfo( ) throw (RuntimeException) { @@ -152,9 +152,9 @@ namespace basprov return xInfo; } - // ----------------------------------------------------------------------------- + // XScript - // ----------------------------------------------------------------------------- + Any BasicScriptImpl::invoke( const Sequence< Any >& aParams, Sequence< sal_Int16 >& aOutParamIndex, Sequence< Any >& aOutParam ) throw ( provider::ScriptFrameworkErrorException, reflection::InvocationTargetException, uno::RuntimeException) @@ -289,7 +289,7 @@ namespace basprov return aReturn; } - // ----------------------------------------------------------------------------- + //......................................................................... } // namespace basprov diff --git a/scripting/source/dlgprov/dlgevtatt.cxx b/scripting/source/dlgprov/dlgevtatt.cxx index 9fc11f39ddb4..741e2450b743 100644 --- a/scripting/source/dlgprov/dlgevtatt.cxx +++ b/scripting/source/dlgprov/dlgevtatt.cxx @@ -181,13 +181,13 @@ namespace dlgprov listernersForTypes[ OUString("VBAInterop") ] = new DialogVBAScriptListenerImpl( rxContext, rxControl, rxModel, sDialogLibName ); } - // ----------------------------------------------------------------------------- + DialogEventsAttacherImpl::~DialogEventsAttacherImpl() { } - // ----------------------------------------------------------------------------- + Reference< script::XScriptListener > DialogEventsAttacherImpl::getScriptListenerForKey( const OUString& sKey ) throw ( RuntimeException ) { @@ -210,7 +210,7 @@ namespace dlgprov return xEventsSupplier; } - // ----------------------------------------------------------------------------- + void SAL_CALL DialogEventsAttacherImpl::attachEventsToControl( const Reference< XControl>& xControl, const Reference< XScriptEventsSupplier >& xEventsSupplier, const Any& Helper ) { if ( xEventsSupplier.is() ) @@ -322,9 +322,9 @@ namespace dlgprov } } - // ----------------------------------------------------------------------------- + // XScriptEventsAttacher - // ----------------------------------------------------------------------------- + void SAL_CALL DialogEventsAttacherImpl::attachEvents( const Sequence< Reference< XInterface > >& Objects, const com::sun::star::uno::Reference<com::sun::star::script::XScriptListener>&, @@ -383,13 +383,13 @@ namespace dlgprov { } - // ----------------------------------------------------------------------------- + DialogAllListenerImpl::~DialogAllListenerImpl() { } - // ----------------------------------------------------------------------------- + void DialogAllListenerImpl::firing_impl( const AllEventObject& Event, Any* pRet ) { @@ -411,17 +411,17 @@ namespace dlgprov } } - // ----------------------------------------------------------------------------- + // XEventListener - // ----------------------------------------------------------------------------- + void DialogAllListenerImpl::disposing(const EventObject& ) throw ( RuntimeException ) { } - // ----------------------------------------------------------------------------- + // XAllListener - // ----------------------------------------------------------------------------- + void DialogAllListenerImpl::firing( const AllEventObject& Event ) throw ( RuntimeException ) { @@ -430,7 +430,7 @@ namespace dlgprov firing_impl( Event, NULL ); } - // ----------------------------------------------------------------------------- + Any DialogAllListenerImpl::approveFiring( const AllEventObject& Event ) throw ( reflection::InvocationTargetException, RuntimeException ) @@ -461,13 +461,13 @@ namespace dlgprov { } - // ----------------------------------------------------------------------------- + DialogScriptListenerImpl::~DialogScriptListenerImpl() { } - // ----------------------------------------------------------------------------- + void DialogSFScriptListenerImpl::firing_impl( const ScriptEvent& aScriptEvent, Any* pRet ) { try @@ -651,17 +651,17 @@ namespace dlgprov } } - // ----------------------------------------------------------------------------- + // XEventListener - // ----------------------------------------------------------------------------- + void DialogScriptListenerImpl::disposing(const EventObject& ) throw ( RuntimeException ) { } - // ----------------------------------------------------------------------------- + // XScriptListener - // ----------------------------------------------------------------------------- + void DialogScriptListenerImpl::firing( const ScriptEvent& aScriptEvent ) throw ( RuntimeException ) { @@ -670,7 +670,7 @@ namespace dlgprov firing_impl( aScriptEvent, NULL ); } - // ----------------------------------------------------------------------------- + Any DialogScriptListenerImpl::approveFiring( const ScriptEvent& aScriptEvent ) throw ( reflection::InvocationTargetException, RuntimeException ) @@ -682,7 +682,7 @@ namespace dlgprov return aReturn; } - // ----------------------------------------------------------------------------- + //......................................................................... } // namespace dlgprov diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index 97bc9c3c54b5..94cce4377276 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -179,7 +179,7 @@ static OUString aResourceResolverPropName("ResourceResolver"); return *pImplName; } - // ----------------------------------------------------------------------------- + static Sequence< OUString > getSupportedServiceNames_DialogProviderImpl() { @@ -230,13 +230,13 @@ static OUString aResourceResolverPropName("ResourceResolver"); { } - // ----------------------------------------------------------------------------- + DialogProviderImpl::~DialogProviderImpl() { } - // ----------------------------------------------------------------------------- + Reference< resource::XStringResourceManager > getStringResourceFromDialogLibrary ( Reference< container::XNameContainer > xDialogLib ) @@ -472,7 +472,7 @@ static OUString aResourceResolverPropName("ResourceResolver"); return xCtrlModel; } - // ----------------------------------------------------------------------------- + Reference< XUnoControlDialog > DialogProviderImpl::createDialogControl ( const Reference< XControlModel >& rxDialogModel, const Reference< XWindowPeer >& xParent ) @@ -517,7 +517,7 @@ static OUString aResourceResolverPropName("ResourceResolver"); return xDialogControl; } - // ----------------------------------------------------------------------------- + void DialogProviderImpl::attachControlEvents( const Reference< XControl >& rxControl, @@ -584,9 +584,9 @@ static OUString aResourceResolverPropName("ResourceResolver"); } - // ----------------------------------------------------------------------------- + // XServiceInfo - // ----------------------------------------------------------------------------- + OUString DialogProviderImpl::getImplementationName( ) throw (RuntimeException) { @@ -603,9 +603,9 @@ static OUString aResourceResolverPropName("ResourceResolver"); return getSupportedServiceNames_DialogProviderImpl(); } - // ----------------------------------------------------------------------------- + // XInitialization - // ----------------------------------------------------------------------------- + void DialogProviderImpl::initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException) { @@ -645,9 +645,9 @@ static OUString aResourceResolverPropName("ResourceResolver"); } } - // ----------------------------------------------------------------------------- + // XDialogProvider - // ----------------------------------------------------------------------------- + static OUString aDecorationPropName("Decoration"); static OUString aTitlePropName("Title"); @@ -800,7 +800,7 @@ static OUString aResourceResolverPropName("ResourceResolver"); return static_cast< lang::XTypeProvider * >( new DialogProviderImpl( xContext ) ); } - // ----------------------------------------------------------------------------- + static struct ::cppu::ImplementationEntry s_component_entries [] = { @@ -809,7 +809,7 @@ static OUString aResourceResolverPropName("ResourceResolver"); { 0, 0, 0, 0, 0, 0 } }; - // ----------------------------------------------------------------------------- + //......................................................................... } // namespace dlgprov diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx index 79326b5149c3..7aa42630ce4f 100644 --- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx +++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx @@ -198,9 +198,9 @@ public: } } - // ------------------------------------------------------------------------- + // XBrowseNode - // ------------------------------------------------------------------------- + virtual OUString SAL_CALL getName() throw ( RuntimeException ) diff --git a/scripting/source/provider/ScriptingContext.cxx b/scripting/source/provider/ScriptingContext.cxx index f1f7762d7f73..1884c572b1e0 100644 --- a/scripting/source/provider/ScriptingContext.cxx +++ b/scripting/source/provider/ScriptingContext.cxx @@ -63,18 +63,18 @@ ScriptingContext::~ScriptingContext() { OSL_TRACE( "< ScriptingContext dtor called >" ); } -// ----------------------------------------------------------------------------- + // OPropertySetHelper -// ----------------------------------------------------------------------------- + ::cppu::IPropertyArrayHelper& ScriptingContext::getInfoHelper( ) { return *getArrayHelper(); } -// ----------------------------------------------------------------------------- + // OPropertyArrayUsageHelper -// ----------------------------------------------------------------------------- + ::cppu::IPropertyArrayHelper* ScriptingContext::createArrayHelper( ) const { @@ -82,9 +82,9 @@ ScriptingContext::~ScriptingContext() describeProperties( aProps ); return new ::cppu::OPropertyArrayHelper( aProps ); } -// ----------------------------------------------------------------------------- + // XPropertySet -// ----------------------------------------------------------------------------- + Reference< beans::XPropertySetInfo > ScriptingContext::getPropertySetInfo( ) throw (RuntimeException) { @@ -92,7 +92,7 @@ Reference< beans::XPropertySetInfo > ScriptingContext::getPropertySetInfo( ) th return xInfo; } // -----------------------------------------------------------------------------// XTypeProvider -// ----------------------------------------------------------------------------- + IMPLEMENT_GET_IMPLEMENTATION_ID( ScriptingContext ) css::uno::Sequence< css::uno::Type > SAL_CALL ScriptingContext::getTypes( ) throw (css::uno::RuntimeException) diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index 4930a8ae7b74..ef8ad4965a92 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -767,15 +767,15 @@ StringResourcePersistenceImpl::StringResourcePersistenceImpl( const Reference< X { } -// ----------------------------------------------------------------------------- + StringResourcePersistenceImpl::~StringResourcePersistenceImpl() { } -// ----------------------------------------------------------------------------- + // XServiceInfo -// ----------------------------------------------------------------------------- + OUString StringResourcePersistenceImpl::getImplementationName( ) throw (RuntimeException) @@ -783,7 +783,7 @@ OUString StringResourcePersistenceImpl::getImplementationName( ) return OUString( "com.sun.star.comp.scripting.StringResourceWithLocation"); } -// ----------------------------------------------------------------------------- + sal_Bool StringResourcePersistenceImpl::supportsService( const OUString& rServiceName ) throw (RuntimeException) @@ -791,7 +791,7 @@ sal_Bool StringResourcePersistenceImpl::supportsService( const OUString& rServic return StringResourceImpl::supportsService( rServiceName ); } -// ----------------------------------------------------------------------------- + Sequence< OUString > StringResourcePersistenceImpl::getSupportedServiceNames( ) throw (RuntimeException) @@ -799,9 +799,9 @@ Sequence< OUString > StringResourcePersistenceImpl::getSupportedServiceNames( ) return StringResourceImpl::getSupportedServiceNames(); } -// ----------------------------------------------------------------------------- + // XInitialization base functionality for derived classes -// ----------------------------------------------------------------------------- + static OUString aNameBaseDefaultStr("strings"); @@ -847,7 +847,7 @@ void StringResourcePersistenceImpl::implInitializeCommonParameters implSetCurrentLocale( aCurrentLocale, FindClosestMatch, bUseDefaultIfNoMatch ); } -// ----------------------------------------------------------------------------- + // Forwarding calls to base class // XModifyBroadcaster @@ -963,7 +963,7 @@ sal_Int32 StringResourcePersistenceImpl::getUniqueNumericId( ) return StringResourceImpl::getUniqueNumericId(); } -// ----------------------------------------------------------------------------- + // XStringResourcePersistence void StringResourcePersistenceImpl::store() @@ -1246,7 +1246,7 @@ void StringResourcePersistenceImpl::implStoreAtLocation } -// ----------------------------------------------------------------------------- + // BinaryOutput, helper class for exportBinary class BinaryOutput @@ -1462,7 +1462,7 @@ void StringResourcePersistenceImpl::implWriteLocaleBinary implWritePropertiesFile( pLocaleItem, xOutputStream, m_aComment ); } -// ----------------------------------------------------------------------------- + // BinaryOutput, helper class for exportBinary class BinaryInput @@ -2287,7 +2287,7 @@ static Reference< XInterface > SAL_CALL create_StringResourceWithStorageImpl( return static_cast< ::cppu::OWeakObject * >( new StringResourceWithStorageImpl( xContext ) ); } -// ----------------------------------------------------------------------------- + StringResourceWithStorageImpl::StringResourceWithStorageImpl( const Reference< XComponentContext >& rxContext ) : StringResourceWithStorageImpl_BASE( rxContext ) @@ -2295,15 +2295,15 @@ StringResourceWithStorageImpl::StringResourceWithStorageImpl( const Reference< X { } -// ----------------------------------------------------------------------------- + StringResourceWithStorageImpl::~StringResourceWithStorageImpl() { } -// ----------------------------------------------------------------------------- + // XServiceInfo -// ----------------------------------------------------------------------------- + OUString StringResourceWithStorageImpl::getImplementationName( ) throw (RuntimeException) { @@ -2320,9 +2320,9 @@ Sequence< OUString > StringResourceWithStorageImpl::getSupportedServiceNames( ) return getSupportedServiceNames_StringResourceWithStorageImpl(); } -// ----------------------------------------------------------------------------- + // XInitialization -// ----------------------------------------------------------------------------- + void StringResourceWithStorageImpl::initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException) @@ -2349,7 +2349,7 @@ void StringResourceWithStorageImpl::initialize( const Sequence< Any >& aArgument implInitializeCommonParameters( aArguments ); } -// ----------------------------------------------------------------------------- + // Forwarding calls to base class // XModifyBroadcaster @@ -2516,7 +2516,7 @@ void StringResourceWithStorageImpl::importBinary( const Sequence< ::sal_Int8 >& StringResourcePersistenceImpl::importBinary( Data ); } -// ----------------------------------------------------------------------------- + // XStringResourceWithStorage void StringResourceWithStorageImpl::storeAsStorage( const Reference< XStorage >& Storage ) @@ -2614,7 +2614,7 @@ static Reference< XInterface > SAL_CALL create_StringResourceWithLocationImpl( return static_cast< ::cppu::OWeakObject * >( new StringResourceWithLocationImpl( xContext ) ); } -// ----------------------------------------------------------------------------- + StringResourceWithLocationImpl::StringResourceWithLocationImpl( const Reference< XComponentContext >& rxContext ) : StringResourceWithLocationImpl_BASE( rxContext ) @@ -2622,15 +2622,15 @@ StringResourceWithLocationImpl::StringResourceWithLocationImpl( const Reference< { } -// ----------------------------------------------------------------------------- + StringResourceWithLocationImpl::~StringResourceWithLocationImpl() { } -// ----------------------------------------------------------------------------- + // XServiceInfo -// ----------------------------------------------------------------------------- + OUString StringResourceWithLocationImpl::getImplementationName( ) throw (RuntimeException) { @@ -2647,9 +2647,9 @@ Sequence< OUString > StringResourceWithLocationImpl::getSupportedServiceNames( return getSupportedServiceNames_StringResourceWithLocationImpl(); } -// ----------------------------------------------------------------------------- + // XInitialization -// ----------------------------------------------------------------------------- + void StringResourceWithLocationImpl::initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException) @@ -2692,7 +2692,7 @@ void StringResourceWithLocationImpl::initialize( const Sequence< Any >& aArgumen implInitializeCommonParameters( aArguments ); } -// ----------------------------------------------------------------------------- + // Forwarding calls to base class // XModifyBroadcaster @@ -2861,7 +2861,7 @@ void StringResourceWithLocationImpl::importBinary( const Sequence< ::sal_Int8 >& StringResourcePersistenceImpl::importBinary( Data ); } -// ----------------------------------------------------------------------------- + // XStringResourceWithLocation // XStringResourceWithLocation diff --git a/scripting/source/vbaevents/service.cxx b/scripting/source/vbaevents/service.cxx index 07a7f19277fd..9baec6f24a60 100644 --- a/scripting/source/vbaevents/service.cxx +++ b/scripting/source/vbaevents/service.cxx @@ -37,7 +37,7 @@ namespace evtlstner Reference< XComponentContext > const & xContext ) SAL_THROW(()); - // ----------------------------------------------------------------------------- + OUString SAL_CALL getImplementationName(); @@ -57,7 +57,7 @@ namespace ooevtdescgen Reference< XComponentContext > const & xContext ) SAL_THROW(()); - // ----------------------------------------------------------------------------- + OUString SAL_CALL getImplementationName(); |