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/controls/progressbar.cxx | |
parent | 149e3d4212704b36c101c2cab11cb43ad633ddd5 (diff) |
Kill superfluous vertical whitespace
Change-Id: Ieb7956acdc24d6b18939e916e33eb12dc268e778
Diffstat (limited to 'UnoControls/source/controls/progressbar.cxx')
-rw-r--r-- | UnoControls/source/controls/progressbar.cxx | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/UnoControls/source/controls/progressbar.cxx b/UnoControls/source/controls/progressbar.cxx index 654609156e66..33eedda5a3f1 100644 --- a/UnoControls/source/controls/progressbar.cxx +++ b/UnoControls/source/controls/progressbar.cxx @@ -38,10 +38,8 @@ using namespace ::com::sun::star::awt ; namespace unocontrols{ - // construct/destruct - ProgressBar::ProgressBar( const Reference< XComponentContext >& rxContext ) : BaseControl ( rxContext ) , m_bHorizontal ( PROGRESSBAR_DEFAULT_HORIZONTAL ) @@ -59,10 +57,8 @@ ProgressBar::~ProgressBar() { } - // XInterface - Any SAL_CALL ProgressBar::queryInterface( const Type& rType ) throw( RuntimeException, std::exception ) { // Attention: @@ -84,10 +80,8 @@ Any SAL_CALL ProgressBar::queryInterface( const Type& rType ) throw( RuntimeExce return aReturn ; } - // XInterface - void SAL_CALL ProgressBar::acquire() throw() { // Attention: @@ -97,10 +91,8 @@ void SAL_CALL ProgressBar::acquire() throw() BaseControl::acquire(); } - // XInterface - void SAL_CALL ProgressBar::release() throw() { // Attention: @@ -110,10 +102,8 @@ void SAL_CALL ProgressBar::release() throw() BaseControl::release(); } - // XTypeProvider - Sequence< Type > SAL_CALL ProgressBar::getTypes() throw( RuntimeException, std::exception ) { // Optimize this method ! @@ -142,10 +132,8 @@ Sequence< Type > SAL_CALL ProgressBar::getTypes() throw( RuntimeException, std:: return pTypeCollection->getTypes(); } - // XAggregation - Any SAL_CALL ProgressBar::queryAggregation( const Type& aType ) throw( RuntimeException, std::exception ) { // Ask for my own supported interfaces ... @@ -166,10 +154,8 @@ Any SAL_CALL ProgressBar::queryAggregation( const Type& aType ) throw( RuntimeEx return aReturn ; } - // XProgressBar - void SAL_CALL ProgressBar::setForegroundColor( sal_Int32 nColor ) throw( RuntimeException, std::exception ) { // Ready for multithreading @@ -182,10 +168,8 @@ void SAL_CALL ProgressBar::setForegroundColor( sal_Int32 nColor ) throw( Runtime impl_paint ( 0, 0, impl_getGraphicsPeer() ) ; } - // XProgressBar - void SAL_CALL ProgressBar::setBackgroundColor ( sal_Int32 nColor ) throw( RuntimeException, std::exception ) { // Ready for multithreading @@ -198,10 +182,8 @@ void SAL_CALL ProgressBar::setBackgroundColor ( sal_Int32 nColor ) throw( Runtim impl_paint ( 0, 0, impl_getGraphicsPeer() ) ; } - // XProgressBar - void SAL_CALL ProgressBar::setValue ( sal_Int32 nValue ) throw( RuntimeException, std::exception ) { // This method is defined for follow things: @@ -229,10 +211,8 @@ void SAL_CALL ProgressBar::setValue ( sal_Int32 nValue ) throw( RuntimeException } } - // XProgressBar - void SAL_CALL ProgressBar::setRange ( sal_Int32 nMin, sal_Int32 nMax ) throw( RuntimeException, std::exception ) { // This method is defined for follow things: @@ -273,10 +253,8 @@ void SAL_CALL ProgressBar::setRange ( sal_Int32 nMin, sal_Int32 nMax ) throw( Ru // Next call of "ProgressBar::setValue()" do this. } - // XProgressBar - sal_Int32 SAL_CALL ProgressBar::getValue () throw( RuntimeException, std::exception ) { // Ready for multithreading @@ -285,10 +263,8 @@ sal_Int32 SAL_CALL ProgressBar::getValue () throw( RuntimeException, std::except return ( m_nValue ) ; } - // XWindow - void SAL_CALL ProgressBar::setPosSize ( sal_Int32 nX, sal_Int32 nY, @@ -313,48 +289,38 @@ void SAL_CALL ProgressBar::setPosSize ( } } - // XControl - sal_Bool SAL_CALL ProgressBar::setModel( const Reference< XControlModel >& /*xModel*/ ) throw( RuntimeException, std::exception ) { // A model is not possible for this control. return sal_False ; } - // XControl - Reference< XControlModel > SAL_CALL ProgressBar::getModel() throw( RuntimeException, std::exception ) { // A model is not possible for this control. return Reference< XControlModel >(); } - // impl but public method to register service - const Sequence< OUString > ProgressBar::impl_getStaticSupportedServiceNames() { return css::uno::Sequence<OUString>(); } - // impl but public method to register service - const OUString ProgressBar::impl_getStaticImplementationName() { return OUString("stardiv.UnoControls.ProgressBar"); } - // protected method - void ProgressBar::impl_paint ( sal_Int32 nX, sal_Int32 nY, const Reference< XGraphics > & rGraphics ) { // save impossible cases @@ -426,10 +392,8 @@ void ProgressBar::impl_paint ( sal_Int32 nX, sal_Int32 nY, const Reference< XGra } } - // protected method - void ProgressBar::impl_recalcRange () { MutexGuard aGuard (m_aMutex) ; |