diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-04 10:37:54 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-01-04 10:37:54 +0100 |
commit | 5d1ef9978feb9479746f9039f2d6ca17f9e2052e (patch) | |
tree | 6e467e722948f03321ab40ff292293f0b0c806e4 /svtools/source/uno/unocontroltablemodel.cxx | |
parent | 891179797b83156811f4a0607c64ad14cf5c90ff (diff) |
gridsort: getCellContent: (col,row) instead of (row,col) parameters
Diffstat (limited to 'svtools/source/uno/unocontroltablemodel.cxx')
-rw-r--r-- | svtools/source/uno/unocontroltablemodel.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/uno/unocontroltablemodel.cxx b/svtools/source/uno/unocontroltablemodel.cxx index dfbde6cb4058..36532222dfe4 100644 --- a/svtools/source/uno/unocontroltablemodel.cxx +++ b/svtools/source/uno/unocontroltablemodel.cxx @@ -503,7 +503,7 @@ using namespace ::com::sun::star::awt::grid; } //-------------------------------------------------------------------- - void UnoControlTableModel::getCellContent( RowPos const i_row, ColPos const i_col, Any& o_cellContent ) + void UnoControlTableModel::getCellContent( ColPos const i_col, RowPos const i_row, Any& o_cellContent ) { ENSURE_OR_RETURN_VOID( ( i_row >= 0 ) && ( i_row < m_pImpl->aCellContent.size() ), "UnoControlTableModel::getCellContent: illegal row index!" ); @@ -517,10 +517,10 @@ using namespace ::com::sun::star::awt::grid; void UnoControlTableModel::updateCellContent( RowPos const i_row, ColPos const i_col, Any const & i_cellContent ) { ENSURE_OR_RETURN_VOID( ( i_row >= 0 ) && ( i_row < m_pImpl->aCellContent.size() ), - "UnoControlTableModel::getCellContent: illegal row index!" ); + "UnoControlTableModel::updateCellContent: illegal row index!" ); ::std::vector< Any >& rRowContent( m_pImpl->aCellContent[ i_row ] ); ENSURE_OR_RETURN_VOID( ( i_col >= 0 ) && ( i_col < rRowContent.size() ), - "UnoControlTableModel::getCellContent: illegal column index" ); + "UnoControlTableModel::updateCellContent: illegal column index" ); rRowContent[ i_col ] = i_cellContent; // TODO: listener notification |