Remove remaining DBG_CTOR etc. remnants from sc
Change-Id: Ica865166d6f187bbe610ed537208eab809a77e5f
This commit is contained in:
@@ -39,10 +39,6 @@ using namespace ::rtl;
|
|||||||
using namespace ::com::sun::star;
|
using namespace ::com::sun::star;
|
||||||
using namespace ::com::sun::star::accessibility;
|
using namespace ::com::sun::star::accessibility;
|
||||||
|
|
||||||
//===== internal ============================================================
|
|
||||||
|
|
||||||
DBG_NAME(ScAccessibleContextBase)
|
|
||||||
|
|
||||||
ScAccessibleContextBase::ScAccessibleContextBase(
|
ScAccessibleContextBase::ScAccessibleContextBase(
|
||||||
const uno::Reference<XAccessible>& rxParent,
|
const uno::Reference<XAccessible>& rxParent,
|
||||||
const sal_Int16 aRole)
|
const sal_Int16 aRole)
|
||||||
@@ -52,14 +48,11 @@ ScAccessibleContextBase::ScAccessibleContextBase(
|
|||||||
mnClientId(0),
|
mnClientId(0),
|
||||||
maRole(aRole)
|
maRole(aRole)
|
||||||
{
|
{
|
||||||
DBG_CTOR(ScAccessibleContextBase, NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ScAccessibleContextBase::~ScAccessibleContextBase(void)
|
ScAccessibleContextBase::~ScAccessibleContextBase(void)
|
||||||
{
|
{
|
||||||
DBG_DTOR(ScAccessibleContextBase, NULL);
|
|
||||||
|
|
||||||
if (!IsDefunc() && !rBHelper.bInDispose)
|
if (!IsDefunc() && !rBHelper.bInDispose)
|
||||||
{
|
{
|
||||||
// increment refcount to prevent double call off dtor
|
// increment refcount to prevent double call off dtor
|
||||||
|
@@ -80,11 +80,6 @@ const sal_Unicode cRulerLine = '|';
|
|||||||
const sal_Int32 CSV_LINE_HEADER = CSV_POS_INVALID;
|
const sal_Int32 CSV_LINE_HEADER = CSV_POS_INVALID;
|
||||||
const sal_uInt32 CSV_COLUMN_HEADER = CSV_COLUMN_INVALID;
|
const sal_uInt32 CSV_COLUMN_HEADER = CSV_COLUMN_INVALID;
|
||||||
|
|
||||||
|
|
||||||
// CSV base control ===========================================================
|
|
||||||
|
|
||||||
DBG_NAME( ScAccessibleCsvControl )
|
|
||||||
|
|
||||||
ScAccessibleCsvControl::ScAccessibleCsvControl(
|
ScAccessibleCsvControl::ScAccessibleCsvControl(
|
||||||
const Reference< XAccessible >& rxParent,
|
const Reference< XAccessible >& rxParent,
|
||||||
ScCsvControl& rControl,
|
ScCsvControl& rControl,
|
||||||
@@ -92,12 +87,10 @@ ScAccessibleCsvControl::ScAccessibleCsvControl(
|
|||||||
ScAccessibleContextBase( rxParent, nRole ),
|
ScAccessibleContextBase( rxParent, nRole ),
|
||||||
mpControl( &rControl )
|
mpControl( &rControl )
|
||||||
{
|
{
|
||||||
DBG_CTOR( ScAccessibleCsvControl, NULL );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ScAccessibleCsvControl::~ScAccessibleCsvControl()
|
ScAccessibleCsvControl::~ScAccessibleCsvControl()
|
||||||
{
|
{
|
||||||
DBG_DTOR( ScAccessibleCsvControl, NULL );
|
|
||||||
implDispose();
|
implDispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -339,22 +332,14 @@ static void lcl_FillFontAttributes( Sequence< PropertyValue >& rSeq, const Font&
|
|||||||
lcl_FillProperty( rSeq[ nIndex++ ], "CharLocale", aLangItem, MID_LANG_LOCALE );
|
lcl_FillProperty( rSeq[ nIndex++ ], "CharLocale", aLangItem, MID_LANG_LOCALE );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DBG_NAME( ScAccessibleCsvRuler )
|
|
||||||
|
|
||||||
ScAccessibleCsvRuler::ScAccessibleCsvRuler( ScCsvRuler& rRuler ) :
|
ScAccessibleCsvRuler::ScAccessibleCsvRuler( ScCsvRuler& rRuler ) :
|
||||||
ScAccessibleCsvControl( rRuler.GetAccessibleParentWindow()->GetAccessible(), rRuler, nRulerRole )
|
ScAccessibleCsvControl( rRuler.GetAccessibleParentWindow()->GetAccessible(), rRuler, nRulerRole )
|
||||||
{
|
{
|
||||||
DBG_CTOR( ScAccessibleCsvRuler, NULL );
|
|
||||||
constructStringBuffer();
|
constructStringBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
ScAccessibleCsvRuler::~ScAccessibleCsvRuler()
|
ScAccessibleCsvRuler::~ScAccessibleCsvRuler()
|
||||||
{
|
{
|
||||||
DBG_DTOR( ScAccessibleCsvRuler, NULL );
|
|
||||||
implDispose();
|
implDispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -881,20 +866,13 @@ static inline sal_uInt32 lcl_GetGridColumn( sal_Int32 nApiColumn )
|
|||||||
return (nApiColumn > 0) ? static_cast< sal_uInt32 >( nApiColumn - 1 ) : CSV_COLUMN_HEADER;
|
return (nApiColumn > 0) ? static_cast< sal_uInt32 >( nApiColumn - 1 ) : CSV_COLUMN_HEADER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DBG_NAME( ScAccessibleCsvGrid )
|
|
||||||
|
|
||||||
ScAccessibleCsvGrid::ScAccessibleCsvGrid( ScCsvGrid& rGrid ) :
|
ScAccessibleCsvGrid::ScAccessibleCsvGrid( ScCsvGrid& rGrid ) :
|
||||||
ScAccessibleCsvControl( rGrid.GetAccessibleParentWindow()->GetAccessible(), rGrid, nGridRole )
|
ScAccessibleCsvControl( rGrid.GetAccessibleParentWindow()->GetAccessible(), rGrid, nGridRole )
|
||||||
{
|
{
|
||||||
DBG_CTOR( ScAccessibleCsvGrid, NULL );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ScAccessibleCsvGrid::~ScAccessibleCsvGrid()
|
ScAccessibleCsvGrid::~ScAccessibleCsvGrid()
|
||||||
{
|
{
|
||||||
DBG_DTOR( ScAccessibleCsvGrid, NULL );
|
|
||||||
implDispose();
|
implDispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1424,11 +1402,6 @@ ScAccessibleCsvControl* ScAccessibleCsvGrid::implCreateCellObj( sal_Int32 nRow,
|
|||||||
return new ScAccessibleCsvCell( implGetGrid(), implGetCellText( nRow, nColumn ), nRow, nColumn );
|
return new ScAccessibleCsvCell( implGetGrid(), implGetCellText( nRow, nColumn ), nRow, nColumn );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DBG_NAME( ScAccessibleCsvCell )
|
|
||||||
|
|
||||||
ScAccessibleCsvCell::ScAccessibleCsvCell(
|
ScAccessibleCsvCell::ScAccessibleCsvCell(
|
||||||
ScCsvGrid& rGrid,
|
ScCsvGrid& rGrid,
|
||||||
const OUString& rCellText,
|
const OUString& rCellText,
|
||||||
@@ -1440,13 +1413,11 @@ ScAccessibleCsvCell::ScAccessibleCsvCell(
|
|||||||
mnColumn( lcl_GetGridColumn( nColumn ) ),
|
mnColumn( lcl_GetGridColumn( nColumn ) ),
|
||||||
mnIndex( nRow * (rGrid.GetColumnCount() + 1) + nColumn )
|
mnIndex( nRow * (rGrid.GetColumnCount() + 1) + nColumn )
|
||||||
{
|
{
|
||||||
DBG_CTOR( ScAccessibleCsvCell, NULL );
|
|
||||||
SetEditSource( implCreateEditSource() );
|
SetEditSource( implCreateEditSource() );
|
||||||
}
|
}
|
||||||
|
|
||||||
ScAccessibleCsvCell::~ScAccessibleCsvCell()
|
ScAccessibleCsvCell::~ScAccessibleCsvCell()
|
||||||
{
|
{
|
||||||
DBG_DTOR( ScAccessibleCsvCell, NULL );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SAL_CALL ScAccessibleCsvCell::disposing()
|
void SAL_CALL ScAccessibleCsvCell::disposing()
|
||||||
|
@@ -44,11 +44,6 @@ namespace calc
|
|||||||
using namespace ::com::sun::star::util;
|
using namespace ::com::sun::star::util;
|
||||||
using namespace ::com::sun::star::form::binding;
|
using namespace ::com::sun::star::form::binding;
|
||||||
|
|
||||||
|
|
||||||
//= OCellListSource
|
|
||||||
|
|
||||||
DBG_NAME( OCellListSource )
|
|
||||||
|
|
||||||
#ifdef DBG_UTIL
|
#ifdef DBG_UTIL
|
||||||
const char* OCellListSource::checkConsistency_static( const void* _pThis )
|
const char* OCellListSource::checkConsistency_static( const void* _pThis )
|
||||||
{
|
{
|
||||||
@@ -73,8 +68,6 @@ namespace calc
|
|||||||
,m_aListEntryListeners( m_aMutex )
|
,m_aListEntryListeners( m_aMutex )
|
||||||
,m_bInitialized( false )
|
,m_bInitialized( false )
|
||||||
{
|
{
|
||||||
DBG_CTOR( OCellListSource, checkConsistency_static );
|
|
||||||
|
|
||||||
OSL_PRECOND( m_xDocument.is(), "OCellListSource::OCellListSource: invalid document!" );
|
OSL_PRECOND( m_xDocument.is(), "OCellListSource::OCellListSource: invalid document!" );
|
||||||
|
|
||||||
// register our property at the base class
|
// register our property at the base class
|
||||||
@@ -96,8 +89,6 @@ namespace calc
|
|||||||
acquire(); // prevent duplicate dtor
|
acquire(); // prevent duplicate dtor
|
||||||
dispose();
|
dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
DBG_DTOR( OCellListSource, checkConsistency_static );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -110,7 +101,6 @@ namespace calc
|
|||||||
void SAL_CALL OCellListSource::disposing()
|
void SAL_CALL OCellListSource::disposing()
|
||||||
{
|
{
|
||||||
::osl::MutexGuard aGuard( m_aMutex );
|
::osl::MutexGuard aGuard( m_aMutex );
|
||||||
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
|
|
||||||
|
|
||||||
Reference<XModifyBroadcaster> xBroadcaster( m_xRange, UNO_QUERY );
|
Reference<XModifyBroadcaster> xBroadcaster( m_xRange, UNO_QUERY );
|
||||||
if ( xBroadcaster.is() )
|
if ( xBroadcaster.is() )
|
||||||
@@ -129,7 +119,6 @@ namespace calc
|
|||||||
|
|
||||||
Reference< XPropertySetInfo > SAL_CALL OCellListSource::getPropertySetInfo( ) throw(RuntimeException, std::exception)
|
Reference< XPropertySetInfo > SAL_CALL OCellListSource::getPropertySetInfo( ) throw(RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
|
|
||||||
return createPropertySetInfo( getInfoHelper() ) ;
|
return createPropertySetInfo( getInfoHelper() ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -150,7 +139,6 @@ namespace calc
|
|||||||
|
|
||||||
void SAL_CALL OCellListSource::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) const
|
void SAL_CALL OCellListSource::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) const
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
|
|
||||||
OSL_ENSURE( _nHandle == PROP_HANDLE_RANGE_ADDRESS, "OCellListSource::getFastPropertyValue: invalid handle!" );
|
OSL_ENSURE( _nHandle == PROP_HANDLE_RANGE_ADDRESS, "OCellListSource::getFastPropertyValue: invalid handle!" );
|
||||||
// we only have this one property ....
|
// we only have this one property ....
|
||||||
(void)_nHandle; // avoid warning in product version
|
(void)_nHandle; // avoid warning in product version
|
||||||
@@ -220,7 +208,6 @@ namespace calc
|
|||||||
sal_Int32 SAL_CALL OCellListSource::getListEntryCount( ) throw (RuntimeException, std::exception)
|
sal_Int32 SAL_CALL OCellListSource::getListEntryCount( ) throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
::osl::MutexGuard aGuard( m_aMutex );
|
::osl::MutexGuard aGuard( m_aMutex );
|
||||||
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
|
|
||||||
checkDisposed();
|
checkDisposed();
|
||||||
checkInitialized();
|
checkInitialized();
|
||||||
|
|
||||||
@@ -232,7 +219,6 @@ namespace calc
|
|||||||
OUString SAL_CALL OCellListSource::getListEntry( sal_Int32 _nPosition ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
|
OUString SAL_CALL OCellListSource::getListEntry( sal_Int32 _nPosition ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
::osl::MutexGuard aGuard( m_aMutex );
|
::osl::MutexGuard aGuard( m_aMutex );
|
||||||
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
|
|
||||||
checkDisposed();
|
checkDisposed();
|
||||||
checkInitialized();
|
checkInitialized();
|
||||||
|
|
||||||
@@ -246,7 +232,6 @@ namespace calc
|
|||||||
Sequence< OUString > SAL_CALL OCellListSource::getAllListEntries( ) throw (RuntimeException, std::exception)
|
Sequence< OUString > SAL_CALL OCellListSource::getAllListEntries( ) throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
::osl::MutexGuard aGuard( m_aMutex );
|
::osl::MutexGuard aGuard( m_aMutex );
|
||||||
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
|
|
||||||
checkDisposed();
|
checkDisposed();
|
||||||
checkInitialized();
|
checkInitialized();
|
||||||
|
|
||||||
@@ -264,7 +249,6 @@ namespace calc
|
|||||||
void SAL_CALL OCellListSource::addListEntryListener( const Reference< XListEntryListener >& _rxListener ) throw (NullPointerException, RuntimeException, std::exception)
|
void SAL_CALL OCellListSource::addListEntryListener( const Reference< XListEntryListener >& _rxListener ) throw (NullPointerException, RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
::osl::MutexGuard aGuard( m_aMutex );
|
::osl::MutexGuard aGuard( m_aMutex );
|
||||||
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
|
|
||||||
checkDisposed();
|
checkDisposed();
|
||||||
checkInitialized();
|
checkInitialized();
|
||||||
|
|
||||||
@@ -278,7 +262,6 @@ namespace calc
|
|||||||
void SAL_CALL OCellListSource::removeListEntryListener( const Reference< XListEntryListener >& _rxListener ) throw (NullPointerException, RuntimeException, std::exception)
|
void SAL_CALL OCellListSource::removeListEntryListener( const Reference< XListEntryListener >& _rxListener ) throw (NullPointerException, RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
::osl::MutexGuard aGuard( m_aMutex );
|
::osl::MutexGuard aGuard( m_aMutex );
|
||||||
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
|
|
||||||
checkDisposed();
|
checkDisposed();
|
||||||
checkInitialized();
|
checkInitialized();
|
||||||
|
|
||||||
@@ -291,8 +274,6 @@ namespace calc
|
|||||||
|
|
||||||
void SAL_CALL OCellListSource::modified( const EventObject& /* aEvent */ ) throw (RuntimeException, std::exception)
|
void SAL_CALL OCellListSource::modified( const EventObject& /* aEvent */ ) throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
|
|
||||||
|
|
||||||
notifyModified();
|
notifyModified();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -324,8 +305,6 @@ namespace calc
|
|||||||
|
|
||||||
void SAL_CALL OCellListSource::disposing( const EventObject& aEvent ) throw (RuntimeException, std::exception)
|
void SAL_CALL OCellListSource::disposing( const EventObject& aEvent ) throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
|
|
||||||
|
|
||||||
Reference<XInterface> xRangeInt( m_xRange, UNO_QUERY );
|
Reference<XInterface> xRangeInt( m_xRange, UNO_QUERY );
|
||||||
if ( xRangeInt == aEvent.Source )
|
if ( xRangeInt == aEvent.Source )
|
||||||
{
|
{
|
||||||
|
@@ -48,11 +48,6 @@ namespace calc
|
|||||||
using namespace ::com::sun::star::util;
|
using namespace ::com::sun::star::util;
|
||||||
using namespace ::com::sun::star::form::binding;
|
using namespace ::com::sun::star::form::binding;
|
||||||
|
|
||||||
|
|
||||||
//= OCellValueBinding
|
|
||||||
|
|
||||||
DBG_NAME( OCellValueBinding )
|
|
||||||
|
|
||||||
#ifdef DBG_UTIL
|
#ifdef DBG_UTIL
|
||||||
const char* OCellValueBinding::checkConsistency_static( const void* _pThis )
|
const char* OCellValueBinding::checkConsistency_static( const void* _pThis )
|
||||||
{
|
{
|
||||||
@@ -81,8 +76,6 @@ namespace calc
|
|||||||
,m_bInitialized( false )
|
,m_bInitialized( false )
|
||||||
,m_bListPos( _bListPos )
|
,m_bListPos( _bListPos )
|
||||||
{
|
{
|
||||||
DBG_CTOR( OCellValueBinding, checkConsistency_static );
|
|
||||||
|
|
||||||
// register our property at the base class
|
// register our property at the base class
|
||||||
CellAddress aInitialPropValue;
|
CellAddress aInitialPropValue;
|
||||||
registerPropertyNoMember(
|
registerPropertyNoMember(
|
||||||
@@ -105,8 +98,6 @@ namespace calc
|
|||||||
acquire(); // prevent duplicate dtor
|
acquire(); // prevent duplicate dtor
|
||||||
dispose();
|
dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
DBG_DTOR( OCellValueBinding, checkConsistency_static );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -118,8 +109,6 @@ namespace calc
|
|||||||
|
|
||||||
void SAL_CALL OCellValueBinding::disposing()
|
void SAL_CALL OCellValueBinding::disposing()
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
|
|
||||||
|
|
||||||
Reference<XModifyBroadcaster> xBroadcaster( m_xCell, UNO_QUERY );
|
Reference<XModifyBroadcaster> xBroadcaster( m_xCell, UNO_QUERY );
|
||||||
if ( xBroadcaster.is() )
|
if ( xBroadcaster.is() )
|
||||||
{
|
{
|
||||||
@@ -135,7 +124,6 @@ namespace calc
|
|||||||
|
|
||||||
Reference< XPropertySetInfo > SAL_CALL OCellValueBinding::getPropertySetInfo( ) throw(RuntimeException, std::exception)
|
Reference< XPropertySetInfo > SAL_CALL OCellValueBinding::getPropertySetInfo( ) throw(RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
|
|
||||||
return createPropertySetInfo( getInfoHelper() ) ;
|
return createPropertySetInfo( getInfoHelper() ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -156,7 +144,6 @@ namespace calc
|
|||||||
|
|
||||||
void SAL_CALL OCellValueBinding::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) const
|
void SAL_CALL OCellValueBinding::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) const
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
|
|
||||||
OSL_ENSURE( _nHandle == PROP_HANDLE_BOUND_CELL, "OCellValueBinding::getFastPropertyValue: invalid handle!" );
|
OSL_ENSURE( _nHandle == PROP_HANDLE_BOUND_CELL, "OCellValueBinding::getFastPropertyValue: invalid handle!" );
|
||||||
// we only have this one property ....
|
// we only have this one property ....
|
||||||
(void)_nHandle; // avoid warning in product version
|
(void)_nHandle; // avoid warning in product version
|
||||||
@@ -170,7 +157,6 @@ namespace calc
|
|||||||
|
|
||||||
Sequence< Type > SAL_CALL OCellValueBinding::getSupportedValueTypes( ) throw (RuntimeException, std::exception)
|
Sequence< Type > SAL_CALL OCellValueBinding::getSupportedValueTypes( ) throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
|
|
||||||
checkDisposed( );
|
checkDisposed( );
|
||||||
checkInitialized( );
|
checkInitialized( );
|
||||||
|
|
||||||
@@ -202,7 +188,6 @@ namespace calc
|
|||||||
|
|
||||||
sal_Bool SAL_CALL OCellValueBinding::supportsType( const Type& aType ) throw (RuntimeException, std::exception)
|
sal_Bool SAL_CALL OCellValueBinding::supportsType( const Type& aType ) throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
|
|
||||||
checkDisposed( );
|
checkDisposed( );
|
||||||
checkInitialized( );
|
checkInitialized( );
|
||||||
|
|
||||||
@@ -220,7 +205,6 @@ namespace calc
|
|||||||
|
|
||||||
Any SAL_CALL OCellValueBinding::getValue( const Type& aType ) throw (IncompatibleTypesException, RuntimeException, std::exception)
|
Any SAL_CALL OCellValueBinding::getValue( const Type& aType ) throw (IncompatibleTypesException, RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
|
|
||||||
checkDisposed( );
|
checkDisposed( );
|
||||||
checkInitialized( );
|
checkInitialized( );
|
||||||
checkValueType( aType );
|
checkValueType( aType );
|
||||||
@@ -307,7 +291,6 @@ namespace calc
|
|||||||
|
|
||||||
void SAL_CALL OCellValueBinding::setValue( const Any& aValue ) throw (IncompatibleTypesException, NoSupportException, RuntimeException, std::exception)
|
void SAL_CALL OCellValueBinding::setValue( const Any& aValue ) throw (IncompatibleTypesException, NoSupportException, RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
|
|
||||||
checkDisposed( );
|
checkDisposed( );
|
||||||
checkInitialized( );
|
checkInitialized( );
|
||||||
if ( aValue.hasValue() )
|
if ( aValue.hasValue() )
|
||||||
@@ -469,8 +452,6 @@ namespace calc
|
|||||||
|
|
||||||
OUString SAL_CALL OCellValueBinding::getImplementationName( ) throw (RuntimeException, std::exception)
|
OUString SAL_CALL OCellValueBinding::getImplementationName( ) throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
|
|
||||||
|
|
||||||
return OUString( "com.sun.star.comp.sheet.OCellValueBinding" );
|
return OUString( "com.sun.star.comp.sheet.OCellValueBinding" );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -481,8 +462,6 @@ namespace calc
|
|||||||
|
|
||||||
Sequence< OUString > SAL_CALL OCellValueBinding::getSupportedServiceNames( ) throw (RuntimeException, std::exception)
|
Sequence< OUString > SAL_CALL OCellValueBinding::getSupportedServiceNames( ) throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
|
|
||||||
|
|
||||||
Sequence< OUString > aServices( m_bListPos ? 3 : 2 );
|
Sequence< OUString > aServices( m_bListPos ? 3 : 2 );
|
||||||
aServices[ 0 ] = "com.sun.star.table.CellValueBinding";
|
aServices[ 0 ] = "com.sun.star.table.CellValueBinding";
|
||||||
aServices[ 1 ] = "com.sun.star.form.binding.ValueBinding";
|
aServices[ 1 ] = "com.sun.star.form.binding.ValueBinding";
|
||||||
@@ -531,16 +510,12 @@ namespace calc
|
|||||||
|
|
||||||
void SAL_CALL OCellValueBinding::modified( const EventObject& /* aEvent */ ) throw (RuntimeException, std::exception)
|
void SAL_CALL OCellValueBinding::modified( const EventObject& /* aEvent */ ) throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
|
|
||||||
|
|
||||||
notifyModified();
|
notifyModified();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void SAL_CALL OCellValueBinding::disposing( const EventObject& aEvent ) throw (RuntimeException, std::exception)
|
void SAL_CALL OCellValueBinding::disposing( const EventObject& aEvent ) throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
|
|
||||||
|
|
||||||
Reference<XInterface> xCellInt( m_xCell, UNO_QUERY );
|
Reference<XInterface> xCellInt( m_xCell, UNO_QUERY );
|
||||||
if ( xCellInt == aEvent.Source )
|
if ( xCellInt == aEvent.Source )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user