diff options
author | Kurt Zenker <kz@openoffice.org> | 2009-02-10 14:58:14 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2009-02-10 14:58:14 +0000 |
commit | 0eb6d7a739f4708ec715c8a9d39fbd983c11b3a3 (patch) | |
tree | 646d59515475e8ce5d1bd344841c5d8e2d0bec5e /sc | |
parent | 67da23ed621e67749f203d730f588c1da176d9ba (diff) |
#i10000# build fixes
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/viewfunc.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index 6c72f7023..afd20eae3 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -1595,6 +1595,7 @@ void ScViewFunc::DeleteCells( DelCellCmd eCmd, BOOL bRecord ) if ( GetViewData()->GetSimpleArea( aRange ) == SC_MARK_SIMPLE ) { ScDocShell* pDocSh = GetViewData()->GetDocShell(); + const ScMarkData& rMark = GetViewData()->GetMarkData(); // #i94841# [Collaboration] When deleting rows is rejected, the content is sometimes wrong if ( pDocSh->IsDocShared() && ( eCmd == DEL_DELROWS || eCmd == DEL_DELCOLS ) ) @@ -1611,13 +1612,13 @@ void ScViewFunc::DeleteCells( DelCellCmd eCmd, BOOL bRecord ) } while ( nCount > 0 ) { - pDocSh->GetDocFunc().DeleteCells( aDelRange, eCmd, bRecord, FALSE ); + pDocSh->GetDocFunc().DeleteCells( aDelRange, &rMark, eCmd, bRecord, FALSE ); --nCount; } } else { - pDocSh->GetDocFunc().DeleteCells( aRange, eCmd, bRecord, FALSE ); + pDocSh->GetDocFunc().DeleteCells( aRange, &rMark, eCmd, bRecord, FALSE ); } pDocSh->UpdateOle(GetViewData()); |