diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-04 22:37:41 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-05 00:29:30 -0500 |
commit | 21ab2ba866c8bea31cf2832d1c53227963a6010a (patch) | |
tree | 1097fc1c8ec4aae649b1fa1072cfcab1ea1ec923 /sc/source/ui/view | |
parent | b55bd1f51c54f560da3956d54e4dd30ad1422252 (diff) |
Actually these methods shouldn't be taking a sheet index.
Marked ranges consist of 2-dimensional ranges plus selected sheets. So the
selected ranges themselves don't care about sheets.
Change-Id: I1c2dfab182282e6b32342b97227b3a7abfaf5179
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index 00e0462c0436..76afd3242fda 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -109,8 +109,7 @@ sal_Bool ScViewFunc::AdjustBlockHeight( sal_Bool bPaint, ScMarkData* pMarkData ) pMarkData = &GetViewData()->GetMarkData(); ScDocument* pDoc = pDocSh->GetDocument(); - std::vector<sc::ColRowSpan> aMarkedRows = - pMarkData->GetMarkedRowSpans(GetViewData()->GetTabNo()); + std::vector<sc::ColRowSpan> aMarkedRows = pMarkData->GetMarkedRowSpans(); if (aMarkedRows.empty()) { |