summaryrefslogtreecommitdiff
path: root/sc/inc/rowheightcontext.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-09-26 15:39:50 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-10-22 18:07:25 -0400
commit04ee80c1a6d476171d2394a57011dc98c2aa86bc (patch)
tree4e200181e520fb0d7a1755bfb51e637147a7b0bc /sc/inc/rowheightcontext.hxx
parent48f2cc5a2e0a29a4d36cc36ef358cdb4b3e58061 (diff)
Store height array to RowHeightContext and reduce function arg counts.
Change-Id: I09b79bc76ffc55e25c24bbfa8f000f4a46df0a1c
Diffstat (limited to 'sc/inc/rowheightcontext.hxx')
-rw-r--r--sc/inc/rowheightcontext.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/rowheightcontext.hxx b/sc/inc/rowheightcontext.hxx
index 816c53d0c88a..e105758714b9 100644
--- a/sc/inc/rowheightcontext.hxx
+++ b/sc/inc/rowheightcontext.hxx
@@ -14,12 +14,16 @@
#include <tools/rational.hxx>
+#include <vector>
+
class OutputDevice;
namespace sc {
class SC_DLLPUBLIC RowHeightContext
{
+ std::vector<sal_uInt16> maHeights;
+
double mfPPTX;
double mfPPTY;
boost::rational<sal_Int64> maZoomX;
@@ -48,6 +52,8 @@ public:
void setForceAutoSize( bool b );
bool isForceAutoSize() const { return mbForceAutoSize;}
+
+ std::vector<sal_uInt16>& getHeightArray();
};
}