From 7e2080df792b1734268aa623f32dd33b2606800c Mon Sep 17 00:00:00 2001 From: Andrzej Hunt Date: Wed, 27 Aug 2014 14:46:06 +0200 Subject: Allow PaintMapMode retrieval. We need this for conversions elsewhere (outside of ScViewData). Change-Id: I86ce18a22095488d3d3750bd13a5fab46a352be5 --- sc/source/ui/inc/viewdata.hxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx index 26bca08af0bd..7c583b3bad0a 100644 --- a/sc/source/ui/inc/viewdata.hxx +++ b/sc/source/ui/inc/viewdata.hxx @@ -488,6 +488,8 @@ public: long PixelToLogicVertical( long nPix ) const; long PixelToLogicHorizontal( long nPix ) const; + MapMode& GetPaintMapMode() { return maPaintMapMode; } + /** while (rScrY <= nEndPixels && rPosY <= nEndRow) add pixels of row heights converted with nPPTY to rScrY, optimized for row height segments. Upon return rPosY is the last row evaluated <= nEndRow, rScrY -- cgit v1.2.3