diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2014-07-28 12:11:08 -0300 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-07-29 14:20:36 +0000 |
commit | 5021f298418f6efa7bb7b6540113b712599778fe (patch) | |
tree | 3ac99403bb3df46ba633ca28845705240472cb96 /sc/source/core/data/document.cxx | |
parent | dea278910731ddd8856fa122d59d83e01bdff87f (diff) |
Remove some unused code
Change-Id: Ib1fb5108a858c35a5bbe8ba865e15660639725e3
Reviewed-on: https://gerrit.libreoffice.org/10593
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc/source/core/data/document.cxx')
-rw-r--r-- | sc/source/core/data/document.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index e68758c4ca24..549ab9c6ebd1 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -5858,19 +5858,6 @@ void ScDocument::SetSubTotalCellsDirty(const ScRange& rDirtyRange) maSubTotalCells.swap(aNewSet); // update the list. } -void ScDocument::MarkSubTotalCells( sc::ColumnSpanSet& rSet, const ScRange& rRange, bool bVal ) const -{ - for (SCTAB nTab = rRange.aStart.Tab(); nTab <= rRange.aEnd.Tab(); ++nTab) - { - const ScTable* pTab = FetchTable(nTab); - if (!pTab) - continue; - - pTab->MarkSubTotalCells( - rSet, rRange.aStart.Col(), rRange.aStart.Row(), rRange.aEnd.Col(), rRange.aEnd.Row(), bVal); - } -} - sal_uInt16 ScDocument::GetTextWidth( const ScAddress& rPos ) const { SCTAB nTab = rPos.Tab(); |