diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-16 21:18:35 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-16 21:18:35 +0100 |
commit | 00abb7e08b1a2de2200878ec58c968bc8717565a (patch) | |
tree | 65b2998f6b590b02375bcd38de52ced9250dbe01 /svtools/source | |
parent | 622c6ecd2f1c3a5724ef4b615cc9de5bc880699c (diff) |
gridsort: GCC WaE
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/table/gridtablerenderer.cxx | 2 | ||||
-rw-r--r-- | svtools/source/uno/svtxgridcontrol.cxx | 4 | ||||
-rw-r--r-- | svtools/source/uno/unocontroltablemodel.cxx | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/svtools/source/table/gridtablerenderer.cxx b/svtools/source/table/gridtablerenderer.cxx index 8fc95c203b7a..201c128855e6 100644 --- a/svtools/source/table/gridtablerenderer.cxx +++ b/svtools/source/table/gridtablerenderer.cxx @@ -492,6 +492,8 @@ namespace svt { namespace table OSL_UNUSED( i_active ); OSL_UNUSED( i_selected ); + OSL_UNUSED( i_rowPos ); + OSL_UNUSED( i_colPos ); return true; } diff --git a/svtools/source/uno/svtxgridcontrol.cxx b/svtools/source/uno/svtxgridcontrol.cxx index e95becad8876..fe6c8fee5119 100644 --- a/svtools/source/uno/svtxgridcontrol.cxx +++ b/svtools/source/uno/svtxgridcontrol.cxx @@ -547,9 +547,10 @@ void SAL_CALL SVTXGridControl::dataChanged( const GridDataEvent& i_event ) throw } //---------------------------------------------------------------------------------------------------------------------- -void SAL_CALL SVTXGridControl::rowTitleChanged( const GridDataEvent& Event ) throw (RuntimeException) +void SAL_CALL SVTXGridControl::rowTitleChanged( const GridDataEvent& i_event ) throw (RuntimeException) { ::vos::OGuard aGuard( GetMutex() ); + OSL_UNUSED( i_event ); TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); ENSURE_OR_RETURN_VOID( pTable, "SVTXGridControl::rowTitleChanged: no control (anymore)!" ); @@ -586,6 +587,7 @@ void SAL_CALL SVTXGridControl::elementReplaced( const ContainerEvent& i_event ) { OSL_ENSURE( false, "SVTXGridControl::elementReplaced: not implemented!" ); // at the moment, the XGridColumnModel API does not allow replacing columns + OSL_UNUSED( i_event ); // TODO: replace the respective column in our table model } diff --git a/svtools/source/uno/unocontroltablemodel.cxx b/svtools/source/uno/unocontroltablemodel.cxx index 17aac65c0dfb..e2881eb22fc6 100644 --- a/svtools/source/uno/unocontroltablemodel.cxx +++ b/svtools/source/uno/unocontroltablemodel.cxx @@ -312,8 +312,6 @@ namespace svt { namespace table if ( m_pImpl->aColumns.empty() ) return; - const ColPos nLastIndex = m_pImpl->aColumns.size() - 1; - // dispose the column instances for ( ColumnModels::const_iterator col = m_pImpl->aColumns.begin(); col != m_pImpl->aColumns.end(); |