summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-04 10:37:54 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-04 10:37:54 +0100
commit9b34df43b9a054b0eea74f65f68b11ddd93ae5eb (patch)
tree3edad5338dc5888079908029a7d0f7c7019636bc /automation
parentdd42af8c16804d848b1358ea46811fae64088f9f (diff)
gridsort: getCellContent: (col,row) instead of (row,col) parameters
Diffstat (limited to 'automation')
-rw-r--r--automation/source/server/statemnt.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/automation/source/server/statemnt.cxx b/automation/source/server/statemnt.cxx
index 353796a4c594..3e086f485826 100644
--- a/automation/source/server/statemnt.cxx
+++ b/automation/source/server/statemnt.cxx
@@ -6112,7 +6112,8 @@ protected:
ValueOK( aUId, MethodString( nMethodId ), nNr2, pTC->GetRowCount() ))
{
::svt::table::PTableModel pModel = pTC->GetModel();
- Any aCell = pModel->getCellContent()[nNr2-1][nNr1-1];
+ Any aCell;
+ pModel->getCellContent( nNr1-1, nNr2-1, aCell );
pRet->GenReturn ( RET_Value, aUId, String( aCell.getValueTypeName() ));
}
}
@@ -6123,7 +6124,8 @@ protected:
ValueOK( aUId, MethodString( nMethodId ), nNr2, pTC->GetRowCount() ))
{
::svt::table::PTableModel pModel = pTC->GetModel();
- Any aCell = pModel->getCellContent()[nNr2-1][nNr1-1];
+ Any aCell;
+ pModel->getCellContent( nNr1-1, nNr2-1, aCell );
/* doesn't work ATM since it gets casted to SbxDATE in VCLTestTool unfortunately
SbxVariableRef xRes = new SbxVariable( SbxVARIANT );
unoToSbxValue( xRes, aCell );