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()
{}
void SbiSymPool::Clear()
{
aData.DeleteAndDestroy( 0, aData.Count() );
}
SbiSymDef* SbiSymPool::First()
{
nCur = (sal_uInt16) -1;
......
......@@ -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 );
......
......@@ -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(); }
......
......@@ -902,11 +902,6 @@ SbMethod* SbiRuntime::GetCaller()
return pMeth;
}
SbxArray* SbiRuntime::GetParams()
{
return refParams;
}
// Stacks
// The expression-stack is available for the continous evaluation
......
......@@ -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; }
......
......@@ -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 );
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -64,9 +64,6 @@ struct ScMyCellInfo
~ScMyCellInfo();
ScBaseCell* CreateCell(ScDocument* pDoc);
private:
ScMyCellInfo(); // disabled
};
struct ScMyDeleted
......
......@@ -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 );
......
......@@ -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)
......
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