summaryrefslogtreecommitdiff
path: root/sc/source/core/data/rowheightcontext.cxx
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/source/core/data/rowheightcontext.cxx
parent48f2cc5a2e0a29a4d36cc36ef358cdb4b3e58061 (diff)
Store height array to RowHeightContext and reduce function arg counts.
Change-Id: I09b79bc76ffc55e25c24bbfa8f000f4a46df0a1c
Diffstat (limited to 'sc/source/core/data/rowheightcontext.cxx')
-rw-r--r--sc/source/core/data/rowheightcontext.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/core/data/rowheightcontext.cxx b/sc/source/core/data/rowheightcontext.cxx
index 43ca932c3ad8..0786dd5302a3 100644
--- a/sc/source/core/data/rowheightcontext.cxx
+++ b/sc/source/core/data/rowheightcontext.cxx
@@ -32,6 +32,11 @@ void RowHeightContext::setForceAutoSize( bool b )
mbForceAutoSize = b;
}
+std::vector<sal_uInt16>& RowHeightContext::getHeightArray()
+{
+ return maHeights;
+}
+
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */