diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-06 19:54:59 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-06 20:00:27 +0300 |
commit | 5814e764328e93c7618d384225fe6c7d628aa3c9 (patch) | |
tree | 534b6eeed8e60bd9290b21e2f748f8a732a653e6 /UnoControls/source/base/basecontainercontrol.cxx | |
parent | 149e3d4212704b36c101c2cab11cb43ad633ddd5 (diff) |
Kill superfluous vertical whitespace
Change-Id: Ieb7956acdc24d6b18939e916e33eb12dc268e778
Diffstat (limited to 'UnoControls/source/base/basecontainercontrol.cxx')
-rw-r--r-- | UnoControls/source/base/basecontainercontrol.cxx | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx index 37ca44480989..00d63052fbc1 100644 --- a/UnoControls/source/base/basecontainercontrol.cxx +++ b/UnoControls/source/base/basecontainercontrol.cxx @@ -21,10 +21,8 @@ #include <cppuhelper/typeprovider.hxx> - // namespaces - using namespace ::cppu ; using namespace ::osl ; using namespace ::rtl ; @@ -35,10 +33,8 @@ using namespace ::com::sun::star::container ; namespace unocontrols{ - // construct/destruct - BaseContainerControl::BaseContainerControl( const Reference< XComponentContext >& rxContext ) : BaseControl ( rxContext ) , m_aListeners ( m_aMutex ) @@ -50,10 +46,8 @@ BaseContainerControl::~BaseContainerControl() impl_cleanMemory(); } - // XInterface - Any SAL_CALL BaseContainerControl::queryInterface( const Type& rType ) throw( RuntimeException, std::exception ) { // Attention: @@ -75,10 +69,8 @@ Any SAL_CALL BaseContainerControl::queryInterface( const Type& rType ) throw( Ru return aReturn ; } - // XTypeProvider - Sequence< Type > SAL_CALL BaseContainerControl::getTypes() throw( RuntimeException, std::exception ) { // Optimize this method ! @@ -107,10 +99,8 @@ Sequence< Type > SAL_CALL BaseContainerControl::getTypes() throw( RuntimeExcepti return pTypeCollection->getTypes(); } - // XAggregation - Any SAL_CALL BaseContainerControl::queryAggregation( const Type& aType ) throw( RuntimeException, std::exception ) { // Ask for my own supported interfaces ... @@ -134,10 +124,8 @@ Any SAL_CALL BaseContainerControl::queryAggregation( const Type& aType ) throw( } } - // XControl - void SAL_CALL BaseContainerControl::createPeer( const Reference< XToolkit >& xToolkit , const Reference< XWindowPeer >& xParent ) throw( RuntimeException, std::exception ) { @@ -161,20 +149,16 @@ void SAL_CALL BaseContainerControl::createPeer( const Reference< XToolkit >& } } - // XControl - sal_Bool SAL_CALL BaseContainerControl::setModel( const Reference< XControlModel >& ) throw( RuntimeException, std::exception ) { // This object has NO model. return sal_False ; } - // XControl - Reference< XControlModel > SAL_CALL BaseContainerControl::getModel() throw( RuntimeException, std::exception ) { // This object has NO model. @@ -182,10 +166,8 @@ Reference< XControlModel > SAL_CALL BaseContainerControl::getModel() throw( Runt return Reference< XControlModel >(); } - // XComponent - void SAL_CALL BaseContainerControl::dispose() throw( RuntimeException, std::exception ) { // Tell everything that this container is now gone. @@ -223,10 +205,8 @@ void SAL_CALL BaseContainerControl::dispose() throw( RuntimeException, std::exce BaseControl::dispose(); } - // XEventListener - void SAL_CALL BaseContainerControl::disposing( const EventObject& rEvent ) throw( RuntimeException, std::exception ) { Reference< XControl > xControl( rEvent.Source, UNO_QUERY ); @@ -235,10 +215,8 @@ void SAL_CALL BaseContainerControl::disposing( const EventObject& rEvent ) throw removeControl( xControl ); } - // XControlContainer - void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Reference< XControl > & rControl ) throw( RuntimeException, std::exception ) { if ( !rControl.is () ) @@ -294,10 +272,8 @@ void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Re } } - // XControlContainer - void SAL_CALL BaseContainerControl::removeControl ( const Reference< XControl > & rControl ) throw( RuntimeException, std::exception ) { if ( rControl.is() ) @@ -347,10 +323,8 @@ void SAL_CALL BaseContainerControl::removeControl ( const Reference< XControl > } } - // XControlContainer - void SAL_CALL BaseContainerControl::setStatusText ( const OUString& rStatusText ) throw( RuntimeException, std::exception ) { // go down to each parent @@ -362,10 +336,8 @@ void SAL_CALL BaseContainerControl::setStatusText ( const OUString& rStatusText } } - // XControlContainer - Reference< XControl > SAL_CALL BaseContainerControl::getControl ( const OUString& rName ) throw( RuntimeException, std::exception ) { // Ready for multithreading @@ -390,10 +362,8 @@ Reference< XControl > SAL_CALL BaseContainerControl::getControl ( const OUString return Reference< XControl > () ; } - // XControlContainer - Sequence< Reference< XControl > > SAL_CALL BaseContainerControl::getControls () throw( RuntimeException, std::exception ) { // Ready for multithreading @@ -415,10 +385,8 @@ Sequence< Reference< XControl > > SAL_CALL BaseContainerControl::getControls () return aDescriptor ; } - // XWindow - void SAL_CALL BaseContainerControl::setVisible ( sal_Bool bVisible ) throw( RuntimeException, std::exception ) { // override baseclass definition @@ -432,10 +400,8 @@ void SAL_CALL BaseContainerControl::setVisible ( sal_Bool bVisible ) throw( Runt } } - // protected method - WindowDescriptor* BaseContainerControl::impl_getWindowDescriptor ( const Reference< XWindowPeer > & rParentPeer ) { // - used from "createPeer()" to set the values of an WindowDescriptor !!! @@ -454,18 +420,14 @@ WindowDescriptor* BaseContainerControl::impl_getWindowDescriptor ( const Referen return aDescriptor ; } - // protected method - void BaseContainerControl::impl_paint ( sal_Int32 /*nX*/, sal_Int32 /*nY*/, const Reference< XGraphics > & /*rGraphics*/ ) { } - // private method - void BaseContainerControl::impl_activateTabControllers () { // Ready for multithreading @@ -481,10 +443,8 @@ void BaseContainerControl::impl_activateTabControllers () } } - // private method - void BaseContainerControl::impl_cleanMemory () { // Get count of listitems. |