summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-08-27 14:46:06 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-01-12 12:29:28 +0900
commit28a55d42b20ba07493ab39d3c34fc02698ce6136 (patch)
tree208ac548f550f1a76737e9872f0102794e1eab31
parent950d1de733bb03711b2b31f1bacdae4a4ca1513d (diff)
Allow PaintMapMode retrieval.
We need this for conversions elsewhere (outside of ScViewData). Conflicts: sc/source/ui/inc/viewdata.hxx 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 d6cb6b611a3a..0d3fd2493424 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -481,6 +481,8 @@ public:
static inline long ToPixel( sal_uInt16 nTwips, double nFactor );
+ 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