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 /svx/source/unogallery | |
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 'svx/source/unogallery')
-rw-r--r-- | svx/source/unogallery/unogalitem.cxx | 40 | ||||
-rw-r--r-- | svx/source/unogallery/unogaltheme.cxx | 40 | ||||
-rw-r--r-- | svx/source/unogallery/unogalthemeprovider.cxx | 14 |
3 files changed, 47 insertions, 47 deletions
diff --git a/svx/source/unogallery/unogalitem.cxx b/svx/source/unogallery/unogalitem.cxx index 32e28f55fdbe..b0e6a4afffe9 100644 --- a/svx/source/unogallery/unogalitem.cxx +++ b/svx/source/unogallery/unogalitem.cxx @@ -47,9 +47,9 @@ using namespace ::com::sun::star; namespace unogallery { -// ----------------- + // - GalleryItem - -// ----------------- + GalleryItem::GalleryItem( ::unogallery::GalleryTheme& rTheme, const GalleryObject& rObject ) : ::comphelper::PropertySetHelper( createPropertySetInfo() ), @@ -59,7 +59,7 @@ GalleryItem::GalleryItem( ::unogallery::GalleryTheme& rTheme, const GalleryObjec mpTheme->implRegisterGalleryItem( *this ); } -// ------------------------------------------------------------------------------ + GalleryItem::~GalleryItem() throw() @@ -68,14 +68,14 @@ GalleryItem::~GalleryItem() mpTheme->implDeregisterGalleryItem( *this ); } -// ------------------------------------------------------------------------------ + bool GalleryItem::isValid() const { return( mpTheme != NULL ); } -// ------------------------------------------------------------------------------ + uno::Any SAL_CALL GalleryItem::queryAggregation( const uno::Type & rType ) throw( uno::RuntimeException ) @@ -100,7 +100,7 @@ uno::Any SAL_CALL GalleryItem::queryAggregation( const uno::Type & rType ) return aAny; } -// ------------------------------------------------------------------------------ + uno::Any SAL_CALL GalleryItem::queryInterface( const uno::Type & rType ) throw( uno::RuntimeException ) @@ -108,7 +108,7 @@ uno::Any SAL_CALL GalleryItem::queryInterface( const uno::Type & rType ) return OWeakAggObject::queryInterface( rType ); } -// ------------------------------------------------------------------------------ + void SAL_CALL GalleryItem::acquire() throw() @@ -116,7 +116,7 @@ void SAL_CALL GalleryItem::acquire() OWeakAggObject::acquire(); } -// ------------------------------------------------------------------------------ + void SAL_CALL GalleryItem::release() throw() @@ -124,7 +124,7 @@ void SAL_CALL GalleryItem::release() OWeakAggObject::release(); } -// ------------------------------------------------------------------------------ + OUString GalleryItem::getImplementationName_Static() throw() @@ -132,7 +132,7 @@ OUString GalleryItem::getImplementationName_Static() return OUString( "com.sun.star.comp.gallery.GalleryItem" ); } -// ------------------------------------------------------------------------------ + uno::Sequence< OUString > GalleryItem::getSupportedServiceNames_Static() throw() @@ -189,7 +189,7 @@ uno::Sequence< sal_Int8 > SAL_CALL GalleryItem::getImplementationId() return theGalleryItemImplementationId::get().getSeq(); } -// ------------------------------------------------------------------------------ + sal_Int8 SAL_CALL GalleryItem::getType() throw (uno::RuntimeException) @@ -219,7 +219,7 @@ sal_Int8 SAL_CALL GalleryItem::getType() return nRet; } -// ------------------------------------------------------------------------------ + ::comphelper::PropertySetInfo* GalleryItem::createPropertySetInfo() { @@ -255,7 +255,7 @@ sal_Int8 SAL_CALL GalleryItem::getType() return pRet; } -// ------------------------------------------------------------------------------ + void GalleryItem::_setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const uno::Any* pValues ) throw( beans::UnknownPropertyException, @@ -302,7 +302,7 @@ void GalleryItem::_setPropertyValues( const comphelper::PropertyMapEntry** ppEnt } } -// ------------------------------------------------------------------------------ + void GalleryItem::_getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, uno::Any* pValue ) throw( beans::UnknownPropertyException, @@ -408,14 +408,14 @@ void GalleryItem::_getPropertyValues( const comphelper::PropertyMapEntry** ppEnt } } -// ------------------------------------------------------------------------------ + const ::GalleryObject* GalleryItem::implGetObject() const { return mpGalleryObject; } -// ------------------------------------------------------------------------------ + void GalleryItem::implSetInvalid() { @@ -426,9 +426,9 @@ void GalleryItem::implSetInvalid() } } -// ----------------------- + // - GalleryDrawingModel - -// ----------------------- + GalleryDrawingModel::GalleryDrawingModel( SdrModel* pDoc ) throw() : @@ -436,7 +436,7 @@ GalleryDrawingModel::GalleryDrawingModel( SdrModel* pDoc ) { } -// ----------------------------------------------------------------------------- + GalleryDrawingModel::~GalleryDrawingModel() throw() @@ -444,7 +444,7 @@ GalleryDrawingModel::~GalleryDrawingModel() delete GetDoc(); } -// ----------------------------------------------------------------------------- + UNO3_GETIMPLEMENTATION_IMPL( GalleryDrawingModel ); diff --git a/svx/source/unogallery/unogaltheme.cxx b/svx/source/unogallery/unogaltheme.cxx index 7017871b7519..24e441484fe3 100644 --- a/svx/source/unogallery/unogaltheme.cxx +++ b/svx/source/unogallery/unogaltheme.cxx @@ -38,9 +38,9 @@ using namespace ::com::sun::star; namespace unogallery { -// ----------------- + // - GalleryTheme - -// ----------------- + GalleryTheme::GalleryTheme( const OUString& rThemeName ) { @@ -51,7 +51,7 @@ GalleryTheme::GalleryTheme( const OUString& rThemeName ) StartListening( *mpGallery ); } -// ------------------------------------------------------------------------------ + GalleryTheme::~GalleryTheme() { @@ -70,7 +70,7 @@ GalleryTheme::~GalleryTheme() } } -// ------------------------------------------------------------------------------ + OUString GalleryTheme::getImplementationName_Static() throw() @@ -78,7 +78,7 @@ OUString GalleryTheme::getImplementationName_Static() return OUString( "com.sun.star.comp.gallery.GalleryTheme" ); } -// ------------------------------------------------------------------------------ + uno::Sequence< OUString > GalleryTheme::getSupportedServiceNames_Static() throw() @@ -134,7 +134,7 @@ uno::Sequence< sal_Int8 > SAL_CALL GalleryTheme::getImplementationId() return theGalleryThemeImplementationId::get().getSeq(); } -// ------------------------------------------------------------------------------ + uno::Type SAL_CALL GalleryTheme::getElementType() throw (uno::RuntimeException) @@ -142,7 +142,7 @@ uno::Type SAL_CALL GalleryTheme::getElementType() return ::getCppuType( (const uno::Reference< gallery::XGalleryItem >*) 0); } -// ------------------------------------------------------------------------------ + sal_Bool SAL_CALL GalleryTheme::hasElements() throw (uno::RuntimeException) @@ -152,7 +152,7 @@ sal_Bool SAL_CALL GalleryTheme::hasElements() return( ( mpTheme != NULL ) && ( mpTheme->GetObjectCount() > 0 ) ); } -// ------------------------------------------------------------------------------ + sal_Int32 SAL_CALL GalleryTheme::getCount() throw (uno::RuntimeException) @@ -162,7 +162,7 @@ sal_Int32 SAL_CALL GalleryTheme::getCount() return( mpTheme ? mpTheme->GetObjectCount() : 0 ); } -// ------------------------------------------------------------------------------ + uno::Any SAL_CALL GalleryTheme::getByIndex( ::sal_Int32 nIndex ) throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException) @@ -188,7 +188,7 @@ uno::Any SAL_CALL GalleryTheme::getByIndex( ::sal_Int32 nIndex ) return aRet; } -// ------------------------------------------------------------------------------ + OUString SAL_CALL GalleryTheme::getName( ) throw (uno::RuntimeException) @@ -202,7 +202,7 @@ OUString SAL_CALL GalleryTheme::getName( ) return aRet; } -// ------------------------------------------------------------------------------ + void SAL_CALL GalleryTheme::update( ) throw (uno::RuntimeException) @@ -216,7 +216,7 @@ void SAL_CALL GalleryTheme::update( ) } } -// ------------------------------------------------------------------------------ + ::sal_Int32 SAL_CALL GalleryTheme::insertURLByIndex( const OUString& rURL, ::sal_Int32 nIndex ) @@ -249,7 +249,7 @@ void SAL_CALL GalleryTheme::update( ) return nRet; } -// ------------------------------------------------------------------------------ + ::sal_Int32 SAL_CALL GalleryTheme::insertGraphicByIndex( const uno::Reference< graphic::XGraphic >& rxGraphic, sal_Int32 nIndex ) @@ -277,7 +277,7 @@ void SAL_CALL GalleryTheme::update( ) return nRet; } -// ------------------------------------------------------------------------------ + ::sal_Int32 SAL_CALL GalleryTheme::insertDrawingByIndex( const uno::Reference< lang::XComponent >& Drawing, sal_Int32 nIndex ) @@ -333,7 +333,7 @@ void SAL_CALL GalleryTheme::update( ) return nRet; } -// ------------------------------------------------------------------------------ + void SAL_CALL GalleryTheme::removeByIndex( sal_Int32 nIndex ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) @@ -349,7 +349,7 @@ void SAL_CALL GalleryTheme::removeByIndex( sal_Int32 nIndex ) } } -// ------------------------------------------------------------------------------ + void GalleryTheme::Notify( SfxBroadcaster&, const SfxHint& rHint ) { @@ -386,7 +386,7 @@ void GalleryTheme::Notify( SfxBroadcaster&, const SfxHint& rHint ) } } -// ------------------------------------------------------------------------------ + void GalleryTheme::implReleaseItems( GalleryObject* pObj ) { @@ -404,14 +404,14 @@ void GalleryTheme::implReleaseItems( GalleryObject* pObj ) } } -// ------------------------------------------------------------------------------ + ::GalleryTheme* GalleryTheme::implGetTheme() const { return mpTheme; } -// ------------------------------------------------------------------------------ + void GalleryTheme::implRegisterGalleryItem( ::unogallery::GalleryItem& rItem ) { @@ -421,7 +421,7 @@ void GalleryTheme::implRegisterGalleryItem( ::unogallery::GalleryItem& rItem ) maItemList.push_back( &rItem ); } -// ------------------------------------------------------------------------------ + void GalleryTheme::implDeregisterGalleryItem( ::unogallery::GalleryItem& rItem ) { diff --git a/svx/source/unogallery/unogalthemeprovider.cxx b/svx/source/unogallery/unogalthemeprovider.cxx index a94224673d22..280f8ad8f0bc 100644 --- a/svx/source/unogallery/unogalthemeprovider.cxx +++ b/svx/source/unogallery/unogalthemeprovider.cxx @@ -112,7 +112,7 @@ void SAL_CALL GalleryThemeProvider::initialize( const uno::Sequence< uno::Any >& } } -// ------------------------------------------------------------------------------ + uno::Type SAL_CALL GalleryThemeProvider::getElementType() throw (uno::RuntimeException) @@ -120,7 +120,7 @@ uno::Type SAL_CALL GalleryThemeProvider::getElementType() return ::getCppuType( (const uno::Reference< gallery::XGalleryTheme >*) 0); } -// ------------------------------------------------------------------------------ + sal_Bool SAL_CALL GalleryThemeProvider::hasElements() throw (uno::RuntimeException) @@ -130,7 +130,7 @@ sal_Bool SAL_CALL GalleryThemeProvider::hasElements() return( ( mpGallery != NULL ) && ( mpGallery->GetThemeCount() > 0 ) ); } -// ------------------------------------------------------------------------------ + uno::Any SAL_CALL GalleryThemeProvider::getByName( const OUString& rName ) throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException) @@ -150,7 +150,7 @@ uno::Any SAL_CALL GalleryThemeProvider::getByName( const OUString& rName ) return aRet; } -// ------------------------------------------------------------------------------ + uno::Sequence< OUString > SAL_CALL GalleryThemeProvider::getElementNames() throw (uno::RuntimeException) @@ -172,7 +172,7 @@ uno::Sequence< OUString > SAL_CALL GalleryThemeProvider::getElementNames() return aSeq; } -// ------------------------------------------------------------------------------ + sal_Bool SAL_CALL GalleryThemeProvider::hasByName( const OUString& rName ) throw (uno::RuntimeException) @@ -187,7 +187,7 @@ sal_Bool SAL_CALL GalleryThemeProvider::hasByName( const OUString& rName ) return( bRet ); } -// ------------------------------------------------------------------------------ + uno::Reference< gallery::XGalleryTheme > SAL_CALL GalleryThemeProvider::insertNewByName( const OUString& rThemeName ) throw (container::ElementExistException, uno::RuntimeException) @@ -210,7 +210,7 @@ uno::Reference< gallery::XGalleryTheme > SAL_CALL GalleryThemeProvider::insertNe return xRet; } -// ------------------------------------------------------------------------------ + void SAL_CALL GalleryThemeProvider::removeByName( const OUString& rName ) throw (container::NoSuchElementException, uno::RuntimeException) |