summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2012-02-20 00:25:26 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-02-20 11:49:35 +0000
commitaafcf8c84c42f6b5dd079eb38f588dd8a21ec05d (patch)
treea855538c10fcb3f1ba9c7b4d43c16e8b915597db
parent5febee41a795cdaa66aac0240e8f65b0b4018ed3 (diff)
Remove unused code
-rw-r--r--basic/source/comp/symtbl.cxx5
-rw-r--r--basic/source/inc/runtime.hxx1
-rw-r--r--basic/source/inc/symtbl.hxx2
-rw-r--r--basic/source/runtime/runtime.cxx5
-rw-r--r--basic/source/sbx/sbxdec.cxx7
-rw-r--r--basic/source/sbx/sbxdec.hxx1
-rw-r--r--sc/inc/cell.hxx1
-rw-r--r--sc/source/core/data/cell.cxx26
-rw-r--r--sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx14
-rw-r--r--sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx3
-rw-r--r--svtools/source/edit/svmedit.cxx6
-rwxr-xr-xunusedcode.easy5
12 files changed, 0 insertions, 76 deletions
diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx
index 8f00f4a98861..8144e76d13e2 100644
--- a/basic/source/comp/symtbl.cxx
+++ b/basic/source/comp/symtbl.cxx
@@ -110,11 +110,6 @@ SbiSymPool::~SbiSymPool()
{}
-void SbiSymPool::Clear()
-{
- aData.DeleteAndDestroy( 0, aData.Count() );
-}
-
SbiSymDef* SbiSymPool::First()
{
nCur = (sal_uInt16) -1;
diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx
index 8c9064d333cc..1c70828c19a7 100644
--- a/basic/source/inc/runtime.hxx
+++ b/basic/source/inc/runtime.hxx
@@ -433,7 +433,6 @@ public:
sal_uInt16 GetDebugFlags() { return nFlags; }
void SetDebugFlags( sal_uInt16 nFl ) { nFlags = nFl; }
SbMethod* GetCaller();
- SbxArray* GetParams();
SbxVariable* GetExternalCaller(){ return mpExtCaller; }
SbiForStack* FindForStackItemForCollection( class BasicCollection* pCollection );
diff --git a/basic/source/inc/symtbl.hxx b/basic/source/inc/symtbl.hxx
index b484c826b30e..a0263f9e7b3c 100644
--- a/basic/source/inc/symtbl.hxx
+++ b/basic/source/inc/symtbl.hxx
@@ -74,8 +74,6 @@ public:
SbiSymPool( SbiStringPool&, SbiSymScope );
~SbiSymPool();
- void Clear();
-
void SetParent( SbiSymPool* p ) { pParent = p; }
void SetProcId( short n ) { nProcId = n; }
sal_uInt16 GetSize() const { return aData.Count(); }
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 39c48c35ebff..7fe3b1768e39 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -902,11 +902,6 @@ SbMethod* SbiRuntime::GetCaller()
return pMeth;
}
-SbxArray* SbiRuntime::GetParams()
-{
- return refParams;
-}
-
// Stacks
// The expression-stack is available for the continous evaluation
diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx
index bf36d8863257..3f95fa6f1003 100644
--- a/basic/source/sbx/sbxdec.cxx
+++ b/basic/source/sbx/sbxdec.cxx
@@ -254,12 +254,6 @@ bool SbxDecimal::getChar( sal_Unicode& rVal )
return bRet;
}
-bool SbxDecimal::getByte( sal_uInt8& rVal )
-{
- bool bRet = ( VarUI1FromDec( &maDec, &rVal ) == S_OK );
- return bRet;
-}
-
bool SbxDecimal::getShort( sal_Int16& rVal )
{
bool bRet = ( VarI2FromDec( &maDec, &rVal ) == S_OK );
@@ -369,7 +363,6 @@ void SbxDecimal::setUInt( unsigned int val ) { (void)val; }
bool SbxDecimal::setString( ::rtl::OUString* pOUString ) { (void)pOUString; return false; }
bool SbxDecimal::getChar( sal_Unicode& rVal ) { (void)rVal; return false; }
-bool SbxDecimal::getByte( sal_uInt8& rVal ) { (void)rVal; return false; }
bool SbxDecimal::getShort( sal_Int16& rVal ) { (void)rVal; return false; }
bool SbxDecimal::getLong( sal_Int32& rVal ) { (void)rVal; return false; }
bool SbxDecimal::getUShort( sal_uInt16& rVal ) { (void)rVal; return false; }
diff --git a/basic/source/sbx/sbxdec.hxx b/basic/source/sbx/sbxdec.hxx
index 533ffb9aebb9..3e8646862853 100644
--- a/basic/source/sbx/sbxdec.hxx
+++ b/basic/source/sbx/sbxdec.hxx
@@ -96,7 +96,6 @@ public:
}
bool getChar( sal_Unicode& rVal );
- bool getByte( sal_uInt8& rVal );
bool getShort( sal_Int16& rVal );
bool getLong( sal_Int32& rVal );
bool getUShort( sal_uInt16& rVal );
diff --git a/sc/inc/cell.hxx b/sc/inc/cell.hxx
index 52244f6dca93..387ff69202f9 100644
--- a/sc/inc/cell.hxx
+++ b/sc/inc/cell.hxx
@@ -375,7 +375,6 @@ public:
ScAddress aPos;
~ScFormulaCell();
- ScFormulaCell();
/** Empty formula cell, or with a preconstructed token array. */
ScFormulaCell( ScDocument*, const ScAddress&, const ScTokenArray* = NULL,
diff --git a/sc/source/core/data/cell.cxx b/sc/source/core/data/cell.cxx
index 74e93308d0b1..48d6391f9382 100644
--- a/sc/source/core/data/cell.cxx
+++ b/sc/source/core/data/cell.cxx
@@ -723,32 +723,6 @@ ScStringCell::~ScStringCell()
// ScFormulaCell
//
-ScFormulaCell::ScFormulaCell() :
- ScBaseCell( CELLTYPE_FORMULA ),
- eTempGrammar( FormulaGrammar::GRAM_DEFAULT),
- pCode( NULL ),
- pDocument( NULL ),
- pPrevious(0),
- pNext(0),
- pPreviousTrack(0),
- pNextTrack(0),
- nFormatIndex(0),
- nFormatType( NUMBERFORMAT_NUMBER ),
- nSeenInIteration(0),
- cMatrixFlag ( MM_NONE ),
- bDirty( false ),
- bChanged( false ),
- bRunning( false ),
- bCompile( false ),
- bSubTotal( false ),
- bIsIterCell( false ),
- bInChangeTrack( false ),
- bTableOpDirty( false ),
- bNeedListening( false ),
- aPos(0,0,0)
-{
-}
-
ScFormulaCell::ScFormulaCell( ScDocument* pDoc, const ScAddress& rPos,
const String& rFormula,
const FormulaGrammar::Grammar eGrammar,
diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx
index 7a9b81ea7a0e..55140b1052b2 100644
--- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx
+++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx
@@ -38,20 +38,6 @@
#define SC_CHANGE_ID_PREFIX "ct"
-ScMyCellInfo::ScMyCellInfo()
- : pCell(NULL),
- sFormulaAddress(),
- sFormula(),
- sInputString(),
- fValue(0.0),
- nMatrixCols(0),
- nMatrixRows(0),
- eGrammar( formula::FormulaGrammar::GRAM_STORAGE_DEFAULT),
- nType(NUMBERFORMAT_ALL),
- nMatrixFlag(MM_NONE)
-{
-}
-
ScMyCellInfo::ScMyCellInfo(ScBaseCell* pTempCell, const rtl::OUString& rFormulaAddress, const rtl::OUString& rFormula,
const formula::FormulaGrammar::Grammar eTempGrammar, const rtl::OUString& rInputString,
const double& rValue, const sal_uInt16 nTempType, const sal_uInt8 nTempMatrixFlag, const sal_Int32 nTempMatrixCols,
diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
index 56d4bf36402d..60b497c38fe4 100644
--- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
+++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
@@ -64,9 +64,6 @@ struct ScMyCellInfo
~ScMyCellInfo();
ScBaseCell* CreateCell(ScDocument* pDoc);
-
-private:
- ScMyCellInfo(); // disabled
};
struct ScMyDeleted
diff --git a/svtools/source/edit/svmedit.cxx b/svtools/source/edit/svmedit.cxx
index bb5f4b38c6be..e64de75560e0 100644
--- a/svtools/source/edit/svmedit.cxx
+++ b/svtools/source/edit/svmedit.cxx
@@ -155,7 +155,6 @@ public:
void SetText( const String& rStr );
String GetText() const;
String GetText( LineEnd aSeparator ) const;
- String GetTextLines() const;
String GetTextLines( LineEnd aSeparator ) const;
void Resize();
@@ -540,11 +539,6 @@ String ImpSvMEdit::GetText( LineEnd aSeparator ) const
return mpTextWindow->GetTextEngine()->GetText( aSeparator );
}
-String ImpSvMEdit::GetTextLines() const
-{
- return mpTextWindow->GetTextEngine()->GetTextLines();
-}
-
String ImpSvMEdit::GetTextLines( LineEnd aSeparator ) const
{
return mpTextWindow->GetTextEngine()->GetTextLines( aSeparator );
diff --git a/unusedcode.easy b/unusedcode.easy
index b160c0361d3a..8a32c4623a81 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -29,7 +29,6 @@ HTMLControls::Insert(HTMLControl const**, unsigned short)
HTMLControls::Insert(HTMLControls const*, unsigned short, unsigned short)
HTMLControls::Remove(HTMLControl const*&, unsigned short)
HTMLControls::Remove(unsigned short, unsigned short)
-ImpSvMEdit::GetTextLines() const
ImpSvtData::~ImpSvtData()
ImplDevFontList::ImplFindByLocale(com::sun::star::lang::Locale&) const
InsCapOptArr::Insert(InsCapOptArr const*, unsigned short, unsigned short)
@@ -62,8 +61,6 @@ SalGraphics::drawPolyLine(basegfx::B2DPolygon const&, double, basegfx::B2DVector
SalGraphics::drawPolyPolygon(basegfx::B2DPolyPolygon const&, double)
SanExtensionImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char)
-SbiRuntime::GetParams()
-SbiSymPool::Clear()
SbxDecimal::getByte(unsigned char&)
SbxDecimal::getInt(int&)
SbxDecimal::getUInt(unsigned int&)
@@ -102,7 +99,6 @@ ScDPSaveDimension::Refresh(com::sun::star::uno::Reference<com::sun::star::sheet:
ScDocRowHeightUpdater::TabRanges::TabRanges()
ScDocument::SetAllTabRangeNames(std::__debug::map<short, ScRangeName const*, std::less<short>, std::allocator<std::pair<short const, ScRangeName const*> > > const&)
ScFilterDetect::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
-ScFormulaCell::ScFormulaCell()
ScHTMLColOffset::Insert(ScHTMLColOffset const*, unsigned short, unsigned short)
ScHTMLColOffset::Insert(unsigned long const&, unsigned short&)
ScHTMLColOffset::Insert(unsigned long const*, unsigned short)
@@ -110,7 +106,6 @@ ScHTMLColOffset::Remove(unsigned long const&, unsigned short)
ScHTMLColOffset_SAR::Replace(unsigned long const&, unsigned short)
ScHTMLColOffset_SAR::Replace(unsigned long const*, unsigned short, unsigned short)
ScHTMLColOffset_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned long const&, void*), void*)
-ScMyCellInfo::ScMyCellInfo()
ScNameDefDlg::LinkStubEdModifyHdl(void*, void*)
ScNamedRangeObj::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
ScRTFColTwips::Insert(ScRTFColTwips const*, unsigned short, unsigned short)