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 /toolkit/source/awt/vclxspinbutton.cxx | |
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 'toolkit/source/awt/vclxspinbutton.cxx')
-rw-r--r-- | toolkit/source/awt/vclxspinbutton.cxx | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/toolkit/source/awt/vclxspinbutton.cxx b/toolkit/source/awt/vclxspinbutton.cxx index a34b8f4a3614..7215dec464f9 100644 --- a/toolkit/source/awt/vclxspinbutton.cxx +++ b/toolkit/source/awt/vclxspinbutton.cxx @@ -42,7 +42,7 @@ namespace toolkit using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; - //-------------------------------------------------------------------- + namespace { void lcl_modifyStyle( Window* _pWindow, WinBits _nStyleBits, sal_Bool _bShouldBePresent ) @@ -60,26 +60,26 @@ namespace toolkit //= VCLXSpinButton //==================================================================== DBG_NAME( VCLXSpinButton ) - //-------------------------------------------------------------------- + VCLXSpinButton::VCLXSpinButton() :maAdjustmentListeners( *this ) { DBG_CTOR( VCLXSpinButton, NULL ); } - //-------------------------------------------------------------------- + VCLXSpinButton::~VCLXSpinButton() { DBG_DTOR( VCLXSpinButton, NULL ); } - //-------------------------------------------------------------------- + IMPLEMENT_FORWARD_XINTERFACE2( VCLXSpinButton, VCLXWindow, VCLXSpinButton_Base ) - //-------------------------------------------------------------------- + IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXSpinButton, VCLXWindow, VCLXSpinButton_Base ) - //-------------------------------------------------------------------- + void SAL_CALL VCLXSpinButton::dispose( ) throw(RuntimeException) { { @@ -93,14 +93,14 @@ namespace toolkit VCLXWindow::dispose(); } - //-------------------------------------------------------------------- + void SAL_CALL VCLXSpinButton::addAdjustmentListener( const Reference< XAdjustmentListener >& listener ) throw (RuntimeException) { if ( listener.is() ) maAdjustmentListeners.addInterface( listener ); } - //-------------------------------------------------------------------- + void SAL_CALL VCLXSpinButton::removeAdjustmentListener( const Reference< XAdjustmentListener >& listener ) throw (RuntimeException) { if ( listener.is() ) @@ -135,13 +135,13 @@ namespace toolkit } } - //-------------------------------------------------------------------- + void SAL_CALL VCLXSpinButton::setValue( sal_Int32 n ) throw (RuntimeException) { lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetValue, n ); } - //-------------------------------------------------------------------- + void SAL_CALL VCLXSpinButton::setValues( sal_Int32 minValue, sal_Int32 maxValue, sal_Int32 currentValue ) throw (RuntimeException) { SolarMutexGuard aGuard; @@ -151,49 +151,49 @@ namespace toolkit setValue( currentValue ); } - //-------------------------------------------------------------------- + sal_Int32 SAL_CALL VCLXSpinButton::getValue( ) throw (RuntimeException) { return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetValue ); } - //-------------------------------------------------------------------- + void SAL_CALL VCLXSpinButton::setMinimum( sal_Int32 minValue ) throw (RuntimeException) { lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetRangeMin, minValue ); } - //-------------------------------------------------------------------- + void SAL_CALL VCLXSpinButton::setMaximum( sal_Int32 maxValue ) throw (RuntimeException) { lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetRangeMax, maxValue ); } - //-------------------------------------------------------------------- + sal_Int32 SAL_CALL VCLXSpinButton::getMinimum( ) throw (RuntimeException) { return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetRangeMin ); } - //-------------------------------------------------------------------- + sal_Int32 SAL_CALL VCLXSpinButton::getMaximum( ) throw (RuntimeException) { return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetRangeMax ); } - //-------------------------------------------------------------------- + void SAL_CALL VCLXSpinButton::setSpinIncrement( sal_Int32 spinIncrement ) throw (RuntimeException) { lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetValueStep, spinIncrement ); } - //-------------------------------------------------------------------- + sal_Int32 SAL_CALL VCLXSpinButton::getSpinIncrement( ) throw (RuntimeException) { return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetValueStep ); } - //-------------------------------------------------------------------- + void SAL_CALL VCLXSpinButton::setOrientation( sal_Int32 orientation ) throw (NoSupportException, RuntimeException) { SolarMutexGuard aGuard; @@ -201,7 +201,7 @@ namespace toolkit lcl_modifyStyle( GetWindow(), WB_HSCROLL, orientation == ScrollBarOrientation::HORIZONTAL ); } - //-------------------------------------------------------------------- + sal_Int32 SAL_CALL VCLXSpinButton::getOrientation( ) throw (RuntimeException) { return ( 0 != ( GetWindow()->GetStyle() & WB_HSCROLL ) ) @@ -209,7 +209,7 @@ namespace toolkit : ScrollBarOrientation::VERTICAL; } - //-------------------------------------------------------------------- + void VCLXSpinButton::ProcessWindowEvent( const VclWindowEvent& _rVclWindowEvent ) { SolarMutexClearableGuard aGuard; @@ -241,7 +241,7 @@ namespace toolkit } } - //-------------------------------------------------------------------- + void SAL_CALL VCLXSpinButton::setProperty( const OUString& PropertyName, const Any& Value ) throw(RuntimeException) { SolarMutexGuard aGuard; @@ -291,7 +291,7 @@ namespace toolkit } } - //-------------------------------------------------------------------- + Any SAL_CALL VCLXSpinButton::getProperty( const OUString& PropertyName ) throw(RuntimeException) { SolarMutexGuard aGuard; |