diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-29 11:41:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-29 11:43:40 +0000 |
commit | 9bfd742d8cdc4aab3dd817f13ab4cfa5cc60ae12 (patch) | |
tree | 51815ec709869dd297c10b8359b3bc4736204a98 /sc | |
parent | cfaba15c589f882cc0bcce5cd07bdf3d30f547f6 (diff) |
loplugin:unusedmethods
Change-Id: Ib008613fb06c82791c63d5b074a3e2ff1c3607a0
Reviewed-on: https://gerrit.libreoffice.org/35834
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/attrib.hxx | 1 | ||||
-rw-r--r-- | sc/source/core/inc/interpre.hxx | 1 | ||||
-rw-r--r-- | sc/source/core/tool/interpr4.cxx | 24 | ||||
-rw-r--r-- | sc/source/filter/orcus/interface.cxx | 1 |
4 files changed, 0 insertions, 27 deletions
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx index dc9b2884aec5..fddb8f44cbf8 100644 --- a/sc/inc/attrib.hxx +++ b/sc/inc/attrib.hxx @@ -56,7 +56,6 @@ class SC_DLLPUBLIC ScMergeAttr: public SfxPoolItem SCsCOL nColMerge; SCsROW nRowMerge; public: - static SfxPoolItem* CreateDefault(); ScMergeAttr(); ScMergeAttr( SCsCOL nCol, SCsROW nRow ); ScMergeAttr( const ScMergeAttr& ); diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx index ae47fc4e1b11..abddcd9d7ebb 100644 --- a/sc/source/core/inc/interpre.hxx +++ b/sc/source/core/inc/interpre.hxx @@ -229,7 +229,6 @@ void PushNA(); // Functions for accessing a document void ReplaceCell( ScAddress& ); // for TableOp -void ReplaceCell( SCCOL& rCol, SCROW& rRow, SCTAB& rTab ); // for TableOp bool IsTableOpInRange( const ScRange& ); sal_uLong GetCellNumberFormat( const ScAddress& rPos, ScRefCellValue& rCell ); double ConvertStringToValue( const OUString& ); diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx index 103d52864d17..1c64a8556ffb 100644 --- a/sc/source/core/tool/interpr4.cxx +++ b/sc/source/core/tool/interpr4.cxx @@ -106,30 +106,6 @@ void ScInterpreter::ReplaceCell( ScAddress& rPos ) } } -void ScInterpreter::ReplaceCell( SCCOL& rCol, SCROW& rRow, SCTAB& rTab ) -{ - ScAddress aCellPos( rCol, rRow, rTab ); - size_t ListSize = pDok->m_TableOpList.size(); - for ( size_t i = 0; i < ListSize; ++i ) - { - ScInterpreterTableOpParams *const pTOp = pDok->m_TableOpList[ i ].get(); - if ( aCellPos == pTOp->aOld1 ) - { - rCol = pTOp->aNew1.Col(); - rRow = pTOp->aNew1.Row(); - rTab = pTOp->aNew1.Tab(); - return ; - } - else if ( aCellPos == pTOp->aOld2 ) - { - rCol = pTOp->aNew2.Col(); - rRow = pTOp->aNew2.Row(); - rTab = pTOp->aNew2.Tab(); - return ; - } - } -} - bool ScInterpreter::IsTableOpInRange( const ScRange& rRange ) { if ( rRange.aStart == rRange.aEnd ) diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx index dda51c924613..c21d16ae982d 100644 --- a/sc/source/filter/orcus/interface.cxx +++ b/sc/source/filter/orcus/interface.cxx @@ -31,7 +31,6 @@ #include <editeng/udlnitem.hxx> #include <editeng/boxitem.hxx> #include <editeng/borderline.hxx> -#include <editeng/lcolitem.hxx> #include <editeng/charhiddenitem.hxx> #include <editeng/protitem.hxx> #include <editeng/prntitem.hxx> |