diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-26 11:50:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-27 10:27:31 +0200 |
commit | 368d3aba406a2e4557fd5b2b15ff569b6c16857d (patch) | |
tree | b6c4c9325b26aa79a3c861b4e60d959e1cb87f78 /sc | |
parent | 5ecbb39b9b8c09da9f9919cf3ddb1bacb48d5a40 (diff) |
remove unused code ScDocument::GetCellCount(short, short) const
Change-Id: I63f6bf43dade896858a78414beaafb9792831946
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/document.hxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/document.cxx | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 5df7de23ba6c..82b4d2386dad 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -452,7 +452,6 @@ public: bool IsUsingEmbededFonts() { return mbUseEmbedFonts; } void SetIsUsingEmbededFonts( bool bUse ) { mbUseEmbedFonts = bUse; } SC_DLLPUBLIC sal_uLong GetCellCount() const; // all cells - SCSIZE GetCellCount(SCTAB nTab, SCCOL nCol) const; sal_uLong GetCodeCount() const; // RPN-Code in formulas DECL_LINK( GetUserDefinedColor, sal_uInt16 * ); // number formatter diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index bd5dd1f093a1..9f4229f63a17 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -5760,14 +5760,6 @@ sal_uLong ScDocument::GetCellCount() const return nCellCount; } -SCSIZE ScDocument::GetCellCount(SCTAB nTab, SCCOL nCol) const -{ - if (!ValidTab(nTab) || nTab >= static_cast<SCTAB>(maTabs.size()) || !maTabs[nTab]) - return 0; - - return maTabs[nTab]->GetCellCount(nCol); -} - sal_uLong ScDocument::GetCodeCount() const { sal_uLong nCodeCount = 0; |