diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 16:05:46 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 16:05:46 +0000 |
commit | a94745f000d5a3c6bd3709ea97536ee0bb118143 (patch) | |
tree | 62466dca754a0140563108053b2f8aac3bb7182b /sc/source/ui/view/gridwin4.cxx | |
parent | a7719960a98877a7b528cf089e454f511ff15acf (diff) |
INTEGRATION: CWS dr14 (1.21.20); FILE MERGED
2004/06/14 09:36:53 dr 1.21.20.4: #100000# merge error
2004/06/10 18:42:56 dr 1.21.20.3: RESYNC: (1.22-1.23); FILE MERGED
2004/04/21 09:29:33 dr 1.21.20.2: RESYNC: (1.21-1.22); FILE MERGED
2004/04/08 14:53:49 dr 1.21.20.1: #i23675# diagonal borders step 7c: draw cell borders with svx::frmlnk::Array
Diffstat (limited to 'sc/source/ui/view/gridwin4.cxx')
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index b00fd11004bf..9db80f9469c2 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -2,9 +2,9 @@ * * $RCSfile: gridwin4.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: obo $ $Date: 2004-06-04 12:01:48 $ + * last change: $Author: hr $ $Date: 2004-08-02 17:05:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -108,6 +108,7 @@ #include "invmerge.hxx" #include "editutil.hxx" #include "inputopt.hxx" +#include "fillinfo.hxx" //#include "tabvwsh.hxx" //! Test !!!! @@ -526,8 +527,8 @@ void ScGridWindow::Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScUpdateMod // Datenblock - RowInfo* pRowInfo = new RowInfo[ROWINFO_MAX]; - SCSIZE nArrCount = pDoc->FillInfo( pRowInfo, nX1, nY1, nX2, nY2, nTab, + ScTableInfo aTabInfo; + pDoc->FillInfo( aTabInfo, nX1, nY1, nX2, nY2, nTab, nPPTX, nPPTY, FALSE, bFormulaMode, &pViewData->GetMarkData() ); @@ -535,7 +536,7 @@ void ScGridWindow::Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScUpdateMod Fraction aZoomX = pViewData->GetZoomX(); Fraction aZoomY = pViewData->GetZoomY(); - ScOutputData aOutputData( this, OUTTYPE_WINDOW, pRowInfo, nArrCount, pDoc, nTab, + ScOutputData aOutputData( this, OUTTYPE_WINDOW, aTabInfo, pDoc, nTab, nScrX, nScrY, nX1, nY1, nX2, nY2, nPPTX, nPPTY, &aZoomX, &aZoomY ); @@ -650,7 +651,7 @@ void ScGridWindow::Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScUpdateMod // Autofilter- und Pivot-Buttons - DrawButtons( nX1, nY1, nX2, nY2, pRowInfo, nArrCount ); // Pixel + DrawButtons( nX1, nY1, nX2, nY2, aTabInfo ); // Pixel // Notiz-Anzeiger @@ -871,10 +872,6 @@ void ScGridWindow::Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScUpdateMod if (bCurVis) ShowCursor(); - for (SCSIZE i=0; i<nArrCount; i++) - delete[] pRowInfo[i].pCellInfo; - delete[] pRowInfo; - if (pViewData->HasEditView(eWhich)) SetMapMode(pViewData->GetLogicMode()); else @@ -1173,7 +1170,7 @@ void ScGridWindow::DrawRefMark( SCCOL nRefStartX, SCROW nRefStartY, } void ScGridWindow::DrawButtons( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, - RowInfo* pRowInfo, SCSIZE nArrCount ) + ScTableInfo& rTabInfo ) { SCCOL nCol; SCROW nRow; @@ -1184,6 +1181,9 @@ void ScGridWindow::DrawButtons( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScDBData* pDBData = NULL; ScQueryParam* pQueryParam = NULL; + RowInfo* pRowInfo = rTabInfo.mpRowInfo; + USHORT nArrCount = rTabInfo.mnArrCount; + BOOL bLayoutRTL = pDoc->IsLayoutRTL( nTab ); Point aOldPos = aComboButton.GetPosPixel(); // Zustand fuer MouseDown/Up |