diff options
Diffstat (limited to 'sc/inc/editutil.hxx')
-rw-r--r-- | sc/inc/editutil.hxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx index 3b9b53a40d0e..5e3a12693b53 100644 --- a/sc/inc/editutil.hxx +++ b/sc/inc/editutil.hxx @@ -28,8 +28,8 @@ #include <tools/time.hxx> #include <tools/gen.hxx> #include <tools/fract.hxx> +#include <vcl/outdev.hxx> -class OutputDevice; class ScDocument; class ScPatternAttr; class ScEditEngineDefaulter; @@ -41,7 +41,7 @@ class ScEditUtil SCROW nRow; SCTAB nTab; Point aScrPos; - OutputDevice* pDev; // MapMode has to be set + VclPtr<OutputDevice> pDev; // MapMode has to be set double nPPTX; double nPPTY; Fraction aZoomX; @@ -80,10 +80,7 @@ public: ScEditUtil( ScDocument* pDocument, SCCOL nX, SCROW nY, SCTAB nZ, const Point& rScrPosPixel, OutputDevice* pDevice, double nScaleX, double nScaleY, - 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) {} + const Fraction& rX, const Fraction& rY ); Rectangle GetEditArea( const ScPatternAttr* pPattern, bool bForceToTop ); }; |