summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-08-27 14:46:06 +0200
committerAndrzej Hunt <andrzej.hunt@collabora.com>2014-08-30 21:37:12 +0200
commit7e2080df792b1734268aa623f32dd33b2606800c (patch)
treeb51fe888f9af0ff0663dd5a1860a5ce13ade78df
parent2ce0a5d51b34632c26555c4844c0b0e2f3c5b636 (diff)
Allow PaintMapMode retrieval.
We need this for conversions elsewhere (outside of ScViewData). Change-Id: I86ce18a22095488d3d3750bd13a5fab46a352be5
-rw-r--r--sc/source/ui/inc/viewdata.hxx2
1 files changed, 2 insertions, 0 deletions
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