diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-02-27 12:41:32 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-02-27 12:41:32 +0000 |
commit | d4f6aae4d87876328486abc371ade8de8f022077 (patch) | |
tree | 2543a20c53db5486708d9e0461b5c3b846bcbd39 /sc/source/ui | |
parent | 20cd21e6431089ec63e538f0a0f19c9c260ac13e (diff) |
INTEGRATION: CWS calcwarnings (1.8.110); FILE MERGED
2006/12/12 17:03:24 nn 1.8.110.3: #i69284# warning-free: ui, unxlngi6
2006/12/01 15:51:27 nn 1.8.110.2: #i69284# warning-free: wntmsci10.pro changes
2006/12/01 08:53:41 nn 1.8.110.1: #i69284# warning-free: ui, wntmsci10
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/unoobj/cellvaluebinding.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sc/source/ui/unoobj/cellvaluebinding.cxx b/sc/source/ui/unoobj/cellvaluebinding.cxx index b6f71b03e..62c903225 100644 --- a/sc/source/ui/unoobj/cellvaluebinding.cxx +++ b/sc/source/ui/unoobj/cellvaluebinding.cxx @@ -4,9 +4,9 @@ * * $RCSfile: cellvaluebinding.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: kz $ $Date: 2006-07-21 14:29:36 $ + * last change: $Author: vg $ $Date: 2007-02-27 13:41:32 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -120,10 +120,10 @@ namespace calc OCellValueBinding::OCellValueBinding( const Reference< XSpreadsheetDocument >& _rxDocument, sal_Bool _bListPos ) :OCellValueBinding_Base( m_aMutex ) ,OCellValueBinding_PBase( OCellValueBinding_Base::rBHelper ) - ,m_bListPos( _bListPos ) ,m_xDocument( _rxDocument ) ,m_aModifyListeners( m_aMutex ) ,m_bInitialized( sal_False ) + ,m_bListPos( _bListPos ) { DBG_CTOR( OCellValueBinding, checkConsistency_static ); @@ -204,6 +204,7 @@ namespace calc DBG_CHKTHIS( OCellValueBinding, checkConsistency_static ); DBG_ASSERT( _nHandle == PROP_HANDLE_BOUND_CELL, "OCellValueBinding::getFastPropertyValue: invalid handle!" ); // we only have this one property .... + (void)_nHandle; // avoid warning in product version _rValue.clear(); Reference< XCellAddressable > xCellAddress( m_xCell, UNO_QUERY ); @@ -572,7 +573,7 @@ namespace calc { try { - reinterpret_cast< XModifyListener* >( aIter.next() )->modified( aEvent ); + static_cast< XModifyListener* >( aIter.next() )->modified( aEvent ); } catch( const RuntimeException& ) { @@ -586,7 +587,7 @@ namespace calc } //-------------------------------------------------------------------- - void SAL_CALL OCellValueBinding::modified( const EventObject& aEvent ) throw (RuntimeException) + void SAL_CALL OCellValueBinding::modified( const EventObject& /* aEvent */ ) throw (RuntimeException) { DBG_CHKTHIS( OCellValueBinding, checkConsistency_static ); |