summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-27 21:29:30 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-02-27 21:35:02 -0500
commitcf70996311af2081b2e5920ad27094a0774bdd05 (patch)
treec318d2299dc9f9212d9bb06a161c918bfe624434 /sc/inc
parent03f7a342011a4f69cfcbec7af3e4f1a2e835618b (diff)
Remove all uses of GetMarkRowRanges() and use GetMarkedRowSpans().
And ditto with its column variant. The former created a heap array of 1 million elements (=MAXROWCOUNT). There is no need for this memory wastage. Change-Id: I07845966c51cdcbdc676cd0d249f6420a19b9c5e
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/columnspanset.hxx2
-rw-r--r--sc/inc/markdata.hxx3
2 files changed, 1 insertions, 4 deletions
diff --git a/sc/inc/columnspanset.hxx b/sc/inc/columnspanset.hxx
index 7da98967ad28..60dae41f5982 100644
--- a/sc/inc/columnspanset.hxx
+++ b/sc/inc/columnspanset.hxx
@@ -33,7 +33,7 @@ struct RowSpan
RowSpan(SCROW nRow1, SCROW nRow2);
};
-struct ColRowSpan
+struct SC_DLLPUBLIC ColRowSpan
{
SCCOLROW mnStart;
SCCOLROW mnEnd;
diff --git a/sc/inc/markdata.hxx b/sc/inc/markdata.hxx
index 673303611df2..da225f5ea926 100644
--- a/sc/inc/markdata.hxx
+++ b/sc/inc/markdata.hxx
@@ -106,9 +106,6 @@ public:
void MarkFromRangeList( const ScRangeList& rList, bool bReset );
- SCCOLROW GetMarkColumnRanges( SCCOLROW* pRanges );
- SCCOLROW GetMarkRowRanges( SCCOLROW* pRanges );
-
std::vector<sc::ColRowSpan> GetMarkedRowSpans() const;
std::vector<sc::ColRowSpan> GetMarkedColSpans() const;