summaryrefslogtreecommitdiff
path: root/sc/inc/editutil.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/editutil.hxx')
-rw-r--r--sc/inc/editutil.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx
index 4acb1834b590..95f1fa802bd9 100644
--- a/sc/inc/editutil.hxx
+++ b/sc/inc/editutil.hxx
@@ -42,8 +42,7 @@ class ScEditUtil
SCTAB nTab;
Point aScrPos;
OutputDevice* pDev; // MapMode has to be set
- double nPPTX;
- double nPPTY;
+ const MapMode& maPaintMapMode;
Fraction aZoomX;
Fraction aZoomY;
@@ -81,11 +80,11 @@ public:
public:
ScEditUtil( ScDocument* pDocument, SCCOL nX, SCROW nY, SCTAB nZ,
const Point& rScrPosPixel,
- OutputDevice* pDevice, double nScaleX, double nScaleY,
+ OutputDevice* pDevice, const MapMode& aPaintMapMode,
const Fraction& rX, const Fraction& rY ) :
pDoc(pDocument),nCol(nX),nRow(nY),nTab(nZ),
aScrPos(rScrPosPixel),pDev(pDevice),
- nPPTX(nScaleX),nPPTY(nScaleY),aZoomX(rX),aZoomY(rY) {}
+ maPaintMapMode(aPaintMapMode),aZoomX(rX),aZoomY(rY) {}
Rectangle GetEditArea( const ScPatternAttr* pPattern, bool bForceToTop );
};