diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-06-04 10:57:19 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-06-04 10:57:19 +0000 |
commit | 96e8ce31d256ef47760edd5263c2ec51b0903cbf (patch) | |
tree | 182d87fcdfc1c1acfc7d92a6c9cc3188aa3cbf99 /sc/source/ui/view/auditsh.cxx | |
parent | INTEGRATION: CWS rowlimit (1.16.302); FILE MERGED (diff) | |
download | core-96e8ce31d256ef47760edd5263c2ec51b0903cbf.tar.gz core-96e8ce31d256ef47760edd5263c2ec51b0903cbf.zip |
INTEGRATION: CWS rowlimit (1.2.346); FILE MERGED
2004/03/03 21:36:20 er 1.2.346.2: #i1967# type correctness
2004/01/16 17:42:53 er 1.2.346.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
Diffstat (limited to 'sc/source/ui/view/auditsh.cxx')
-rw-r--r-- | sc/source/ui/view/auditsh.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/view/auditsh.cxx b/sc/source/ui/view/auditsh.cxx index 0cc34d069a48..687b21b144b2 100644 --- a/sc/source/ui/view/auditsh.cxx +++ b/sc/source/ui/view/auditsh.cxx @@ -2,9 +2,9 @@ * * $RCSfile: auditsh.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2000-09-22 18:33:31 $ + * last change: $Author: obo $ $Date: 2004-06-04 11:57:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -146,10 +146,10 @@ void ScAuditingShell::Execute( SfxRequest& rReq ) if ( pReqArgs->GetItemState( SID_RANGE_COL, TRUE, &pXItem ) == SFX_ITEM_SET && pReqArgs->GetItemState( SID_RANGE_ROW, TRUE, &pYItem ) == SFX_ITEM_SET ) { - DBG_ASSERT( pXItem->ISA(SfxInt16Item) && pYItem->ISA(SfxInt16Item), + DBG_ASSERT( pXItem->ISA(SfxInt16Item) && pYItem->ISA(SfxInt32Item), "falsche Items" ); - short nCol = ((const SfxInt16Item*) pXItem)->GetValue(); - short nRow = ((const SfxInt16Item*) pYItem)->GetValue(); + SCsCOL nCol = static_cast<SCsCOL>(((const SfxInt16Item*) pXItem)->GetValue()); + SCsROW nRow = static_cast<SCsROW>(((const SfxInt32Item*) pYItem)->GetValue()); ScViewFunc* pView = pViewData->GetView(); pView->MoveCursorAbs( nCol, nRow, SC_FOLLOW_LINE, FALSE, FALSE ); switch ( nFunction ) |