Kaydet (Commit) aafcf8c8 authored tarafından Petr Vorel's avatar Petr Vorel Kaydeden (comit) Michael Meeks

Remove unused code

üst 5febee41
...@@ -110,11 +110,6 @@ SbiSymPool::~SbiSymPool() ...@@ -110,11 +110,6 @@ SbiSymPool::~SbiSymPool()
{} {}
void SbiSymPool::Clear()
{
aData.DeleteAndDestroy( 0, aData.Count() );
}
SbiSymDef* SbiSymPool::First() SbiSymDef* SbiSymPool::First()
{ {
nCur = (sal_uInt16) -1; nCur = (sal_uInt16) -1;
......
...@@ -433,7 +433,6 @@ public: ...@@ -433,7 +433,6 @@ public:
sal_uInt16 GetDebugFlags() { return nFlags; } sal_uInt16 GetDebugFlags() { return nFlags; }
void SetDebugFlags( sal_uInt16 nFl ) { nFlags = nFl; } void SetDebugFlags( sal_uInt16 nFl ) { nFlags = nFl; }
SbMethod* GetCaller(); SbMethod* GetCaller();
SbxArray* GetParams();
SbxVariable* GetExternalCaller(){ return mpExtCaller; } SbxVariable* GetExternalCaller(){ return mpExtCaller; }
SbiForStack* FindForStackItemForCollection( class BasicCollection* pCollection ); SbiForStack* FindForStackItemForCollection( class BasicCollection* pCollection );
......
...@@ -74,8 +74,6 @@ public: ...@@ -74,8 +74,6 @@ public:
SbiSymPool( SbiStringPool&, SbiSymScope ); SbiSymPool( SbiStringPool&, SbiSymScope );
~SbiSymPool(); ~SbiSymPool();
void Clear();
void SetParent( SbiSymPool* p ) { pParent = p; } void SetParent( SbiSymPool* p ) { pParent = p; }
void SetProcId( short n ) { nProcId = n; } void SetProcId( short n ) { nProcId = n; }
sal_uInt16 GetSize() const { return aData.Count(); } sal_uInt16 GetSize() const { return aData.Count(); }
......
...@@ -902,11 +902,6 @@ SbMethod* SbiRuntime::GetCaller() ...@@ -902,11 +902,6 @@ SbMethod* SbiRuntime::GetCaller()
return pMeth; return pMeth;
} }
SbxArray* SbiRuntime::GetParams()
{
return refParams;
}
// Stacks // Stacks
// The expression-stack is available for the continous evaluation // The expression-stack is available for the continous evaluation
......
...@@ -254,12 +254,6 @@ bool SbxDecimal::getChar( sal_Unicode& rVal ) ...@@ -254,12 +254,6 @@ bool SbxDecimal::getChar( sal_Unicode& rVal )
return bRet; return bRet;
} }
bool SbxDecimal::getByte( sal_uInt8& rVal )
{
bool bRet = ( VarUI1FromDec( &maDec, &rVal ) == S_OK );
return bRet;
}
bool SbxDecimal::getShort( sal_Int16& rVal ) bool SbxDecimal::getShort( sal_Int16& rVal )
{ {
bool bRet = ( VarI2FromDec( &maDec, &rVal ) == S_OK ); bool bRet = ( VarI2FromDec( &maDec, &rVal ) == S_OK );
...@@ -369,7 +363,6 @@ void SbxDecimal::setUInt( unsigned int val ) { (void)val; } ...@@ -369,7 +363,6 @@ void SbxDecimal::setUInt( unsigned int val ) { (void)val; }
bool SbxDecimal::setString( ::rtl::OUString* pOUString ) { (void)pOUString; return false; } bool SbxDecimal::setString( ::rtl::OUString* pOUString ) { (void)pOUString; return false; }
bool SbxDecimal::getChar( sal_Unicode& rVal ) { (void)rVal; 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::getShort( sal_Int16& rVal ) { (void)rVal; return false; }
bool SbxDecimal::getLong( sal_Int32& 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; } bool SbxDecimal::getUShort( sal_uInt16& rVal ) { (void)rVal; return false; }
......
...@@ -96,7 +96,6 @@ public: ...@@ -96,7 +96,6 @@ public:
} }
bool getChar( sal_Unicode& rVal ); bool getChar( sal_Unicode& rVal );
bool getByte( sal_uInt8& rVal );
bool getShort( sal_Int16& rVal ); bool getShort( sal_Int16& rVal );
bool getLong( sal_Int32& rVal ); bool getLong( sal_Int32& rVal );
bool getUShort( sal_uInt16& rVal ); bool getUShort( sal_uInt16& rVal );
......
...@@ -375,7 +375,6 @@ public: ...@@ -375,7 +375,6 @@ public:
ScAddress aPos; ScAddress aPos;
~ScFormulaCell(); ~ScFormulaCell();
ScFormulaCell();
/** Empty formula cell, or with a preconstructed token array. */ /** Empty formula cell, or with a preconstructed token array. */
ScFormulaCell( ScDocument*, const ScAddress&, const ScTokenArray* = NULL, ScFormulaCell( ScDocument*, const ScAddress&, const ScTokenArray* = NULL,
......
...@@ -723,32 +723,6 @@ ScStringCell::~ScStringCell() ...@@ -723,32 +723,6 @@ ScStringCell::~ScStringCell()
// ScFormulaCell // 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, ScFormulaCell::ScFormulaCell( ScDocument* pDoc, const ScAddress& rPos,
const String& rFormula, const String& rFormula,
const FormulaGrammar::Grammar eGrammar, const FormulaGrammar::Grammar eGrammar,
......
...@@ -38,20 +38,6 @@ ...@@ -38,20 +38,6 @@
#define SC_CHANGE_ID_PREFIX "ct" #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, ScMyCellInfo::ScMyCellInfo(ScBaseCell* pTempCell, const rtl::OUString& rFormulaAddress, const rtl::OUString& rFormula,
const formula::FormulaGrammar::Grammar eTempGrammar, const rtl::OUString& rInputString, const formula::FormulaGrammar::Grammar eTempGrammar, const rtl::OUString& rInputString,
const double& rValue, const sal_uInt16 nTempType, const sal_uInt8 nTempMatrixFlag, const sal_Int32 nTempMatrixCols, const double& rValue, const sal_uInt16 nTempType, const sal_uInt8 nTempMatrixFlag, const sal_Int32 nTempMatrixCols,
......
...@@ -64,9 +64,6 @@ struct ScMyCellInfo ...@@ -64,9 +64,6 @@ struct ScMyCellInfo
~ScMyCellInfo(); ~ScMyCellInfo();
ScBaseCell* CreateCell(ScDocument* pDoc); ScBaseCell* CreateCell(ScDocument* pDoc);
private:
ScMyCellInfo(); // disabled
}; };
struct ScMyDeleted struct ScMyDeleted
......
...@@ -155,7 +155,6 @@ public: ...@@ -155,7 +155,6 @@ public:
void SetText( const String& rStr ); void SetText( const String& rStr );
String GetText() const; String GetText() const;
String GetText( LineEnd aSeparator ) const; String GetText( LineEnd aSeparator ) const;
String GetTextLines() const;
String GetTextLines( LineEnd aSeparator ) const; String GetTextLines( LineEnd aSeparator ) const;
void Resize(); void Resize();
...@@ -540,11 +539,6 @@ String ImpSvMEdit::GetText( LineEnd aSeparator ) const ...@@ -540,11 +539,6 @@ String ImpSvMEdit::GetText( LineEnd aSeparator ) const
return mpTextWindow->GetTextEngine()->GetText( aSeparator ); return mpTextWindow->GetTextEngine()->GetText( aSeparator );
} }
String ImpSvMEdit::GetTextLines() const
{
return mpTextWindow->GetTextEngine()->GetTextLines();
}
String ImpSvMEdit::GetTextLines( LineEnd aSeparator ) const String ImpSvMEdit::GetTextLines( LineEnd aSeparator ) const
{ {
return mpTextWindow->GetTextEngine()->GetTextLines( aSeparator ); return mpTextWindow->GetTextEngine()->GetTextLines( aSeparator );
......
...@@ -29,7 +29,6 @@ HTMLControls::Insert(HTMLControl const**, unsigned short) ...@@ -29,7 +29,6 @@ HTMLControls::Insert(HTMLControl const**, unsigned short)
HTMLControls::Insert(HTMLControls const*, unsigned short, unsigned short) HTMLControls::Insert(HTMLControls const*, unsigned short, unsigned short)
HTMLControls::Remove(HTMLControl const*&, unsigned short) HTMLControls::Remove(HTMLControl const*&, unsigned short)
HTMLControls::Remove(unsigned short, unsigned short) HTMLControls::Remove(unsigned short, unsigned short)
ImpSvMEdit::GetTextLines() const
ImpSvtData::~ImpSvtData() ImpSvtData::~ImpSvtData()
ImplDevFontList::ImplFindByLocale(com::sun::star::lang::Locale&) const ImplDevFontList::ImplFindByLocale(com::sun::star::lang::Locale&) const
InsCapOptArr::Insert(InsCapOptArr const*, unsigned short, unsigned short) InsCapOptArr::Insert(InsCapOptArr const*, unsigned short, unsigned short)
...@@ -62,8 +61,6 @@ SalGraphics::drawPolyLine(basegfx::B2DPolygon const&, double, basegfx::B2DVector ...@@ -62,8 +61,6 @@ SalGraphics::drawPolyLine(basegfx::B2DPolygon const&, double, basegfx::B2DVector
SalGraphics::drawPolyPolygon(basegfx::B2DPolyPolygon const&, double) 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(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) SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char)
SbiRuntime::GetParams()
SbiSymPool::Clear()
SbxDecimal::getByte(unsigned char&) SbxDecimal::getByte(unsigned char&)
SbxDecimal::getInt(int&) SbxDecimal::getInt(int&)
SbxDecimal::getUInt(unsigned int&) SbxDecimal::getUInt(unsigned int&)
...@@ -102,7 +99,6 @@ ScDPSaveDimension::Refresh(com::sun::star::uno::Reference<com::sun::star::sheet: ...@@ -102,7 +99,6 @@ ScDPSaveDimension::Refresh(com::sun::star::uno::Reference<com::sun::star::sheet:
ScDocRowHeightUpdater::TabRanges::TabRanges() ScDocRowHeightUpdater::TabRanges::TabRanges()
ScDocument::SetAllTabRangeNames(std::__debug::map<short, ScRangeName const*, std::less<short>, std::allocator<std::pair<short const, ScRangeName const*> > > const&) 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&) 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(ScHTMLColOffset const*, unsigned short, unsigned short)
ScHTMLColOffset::Insert(unsigned long const&, unsigned short&) ScHTMLColOffset::Insert(unsigned long const&, 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) ...@@ -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)
ScHTMLColOffset_SAR::Replace(unsigned long const*, unsigned short, 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*) ScHTMLColOffset_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned long const&, void*), void*)
ScMyCellInfo::ScMyCellInfo()
ScNameDefDlg::LinkStubEdModifyHdl(void*, void*) ScNameDefDlg::LinkStubEdModifyHdl(void*, void*)
ScNamedRangeObj::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>) ScNamedRangeObj::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
ScRTFColTwips::Insert(ScRTFColTwips const*, unsigned short, unsigned short) ScRTFColTwips::Insert(ScRTFColTwips const*, unsigned short, unsigned short)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment