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-09-29 06:30:44 +0100
commitb1a031d50d3de4b722ca6b8f2afe4a8c13b79897 (patch)
tree90e10d7f084fddf4dcf1657c02547058c94903dd
parent40a1470c8a6947bcbb46116f135462227255421e (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 4623b24439e8..fd3cf2655244 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -482,6 +482,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