diff options
Diffstat (limited to 'sc/source/ui/unoobj/cellvaluebinding.cxx')
-rw-r--r-- | sc/source/ui/unoobj/cellvaluebinding.cxx | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/sc/source/ui/unoobj/cellvaluebinding.cxx b/sc/source/ui/unoobj/cellvaluebinding.cxx index 2236bac9cd14..1118ca6b30c0 100644 --- a/sc/source/ui/unoobj/cellvaluebinding.cxx +++ b/sc/source/ui/unoobj/cellvaluebinding.cxx @@ -52,7 +52,7 @@ namespace calc //= OCellValueBinding //===================================================================== DBG_NAME( OCellValueBinding ) - //--------------------------------------------------------------------- + #ifdef DBG_UTIL const char* OCellValueBinding::checkConsistency_static( const void* _pThis ) { @@ -72,7 +72,7 @@ namespace calc } #endif - //--------------------------------------------------------------------- + OCellValueBinding::OCellValueBinding( const Reference< XSpreadsheetDocument >& _rxDocument, bool _bListPos ) :OCellValueBinding_Base( m_aMutex ) ,OCellValueBinding_PBase( OCellValueBinding_Base::rBHelper ) @@ -97,7 +97,7 @@ namespace calc // which probably maps to the cell being locked } - //--------------------------------------------------------------------- + OCellValueBinding::~OCellValueBinding( ) { if ( !OCellValueBinding_Base::rBHelper.bDisposed ) @@ -109,13 +109,13 @@ namespace calc DBG_DTOR( OCellValueBinding, checkConsistency_static ); } - //-------------------------------------------------------------------- + IMPLEMENT_FORWARD_XINTERFACE2( OCellValueBinding, OCellValueBinding_Base, OCellValueBinding_PBase ) - //-------------------------------------------------------------------- + IMPLEMENT_FORWARD_XTYPEPROVIDER2( OCellValueBinding, OCellValueBinding_Base, OCellValueBinding_PBase ) - //-------------------------------------------------------------------- + void SAL_CALL OCellValueBinding::disposing() { DBG_CHKTHIS( OCellValueBinding, checkConsistency_static ); @@ -132,20 +132,20 @@ namespace calc // for the cell) } - //-------------------------------------------------------------------- + Reference< XPropertySetInfo > SAL_CALL OCellValueBinding::getPropertySetInfo( ) throw(RuntimeException) { DBG_CHKTHIS( OCellValueBinding, checkConsistency_static ); return createPropertySetInfo( getInfoHelper() ) ; } - //-------------------------------------------------------------------- + ::cppu::IPropertyArrayHelper& SAL_CALL OCellValueBinding::getInfoHelper() { return *OCellValueBinding_PABase::getArrayHelper(); } - //-------------------------------------------------------------------- + ::cppu::IPropertyArrayHelper* OCellValueBinding::createArrayHelper( ) const { Sequence< Property > aProps; @@ -153,7 +153,7 @@ namespace calc return new ::cppu::OPropertyArrayHelper(aProps); } - //-------------------------------------------------------------------- + void SAL_CALL OCellValueBinding::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) const { DBG_CHKTHIS( OCellValueBinding, checkConsistency_static ); @@ -167,7 +167,7 @@ namespace calc _rValue <<= xCellAddress->getCellAddress( ); } - //-------------------------------------------------------------------- + Sequence< Type > SAL_CALL OCellValueBinding::getSupportedValueTypes( ) throw (RuntimeException) { DBG_CHKTHIS( OCellValueBinding, checkConsistency_static ); @@ -199,7 +199,7 @@ namespace calc return aTypes; } - //-------------------------------------------------------------------- + sal_Bool SAL_CALL OCellValueBinding::supportsType( const Type& aType ) throw (RuntimeException) { DBG_CHKTHIS( OCellValueBinding, checkConsistency_static ); @@ -217,7 +217,7 @@ namespace calc return false; } - //-------------------------------------------------------------------- + Any SAL_CALL OCellValueBinding::getValue( const Type& aType ) throw (IncompatibleTypesException, RuntimeException) { DBG_CHKTHIS( OCellValueBinding, checkConsistency_static ); @@ -304,7 +304,7 @@ namespace calc return aReturn; } - //-------------------------------------------------------------------- + void SAL_CALL OCellValueBinding::setValue( const Any& aValue ) throw (IncompatibleTypesException, NoSupportException, RuntimeException) { DBG_CHKTHIS( OCellValueBinding, checkConsistency_static ); @@ -388,7 +388,7 @@ namespace calc // above } } - //-------------------------------------------------------------------- + void OCellValueBinding::setBooleanFormat() { // set boolean number format if not already set @@ -435,7 +435,7 @@ namespace calc } } - //-------------------------------------------------------------------- + void OCellValueBinding::checkDisposed( ) const SAL_THROW( ( DisposedException ) ) { if ( OCellValueBinding_Base::rBHelper.bInDispose || OCellValueBinding_Base::rBHelper.bDisposed ) @@ -443,7 +443,7 @@ namespace calc // TODO: is it worth having an error message here? } - //-------------------------------------------------------------------- + void OCellValueBinding::checkInitialized() SAL_THROW( ( RuntimeException ) ) { if ( !m_bInitialized ) @@ -451,7 +451,7 @@ namespace calc // TODO: error message } - //-------------------------------------------------------------------- + void OCellValueBinding::checkValueType( const Type& _rType ) const SAL_THROW( ( IncompatibleTypesException ) ) { OCellValueBinding* pNonConstThis = const_cast< OCellValueBinding* >( this ); @@ -497,14 +497,14 @@ namespace calc m_aModifyListeners.addInterface( _rxListener ); } - //-------------------------------------------------------------------- + void SAL_CALL OCellValueBinding::removeModifyListener( const Reference< XModifyListener >& _rxListener ) throw (RuntimeException) { if ( _rxListener.is() ) m_aModifyListeners.removeInterface( _rxListener ); } - //-------------------------------------------------------------------- + void OCellValueBinding::notifyModified() { EventObject aEvent; @@ -528,7 +528,7 @@ namespace calc } } - //-------------------------------------------------------------------- + void SAL_CALL OCellValueBinding::modified( const EventObject& /* aEvent */ ) throw (RuntimeException) { DBG_CHKTHIS( OCellValueBinding, checkConsistency_static ); @@ -536,7 +536,7 @@ namespace calc notifyModified(); } - //-------------------------------------------------------------------- + void SAL_CALL OCellValueBinding::disposing( const EventObject& aEvent ) throw (RuntimeException) { DBG_CHKTHIS( OCellValueBinding, checkConsistency_static ); @@ -550,7 +550,7 @@ namespace calc } } - //-------------------------------------------------------------------- + void SAL_CALL OCellValueBinding::initialize( const Sequence< Any >& _rArguments ) throw (Exception, RuntimeException) { if ( m_bInitialized ) |