summaryrefslogtreecommitdiff
path: root/basic
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 /basic
parent5febee41a795cdaa66aac0240e8f65b0b4018ed3 (diff)
Remove unused code
Diffstat (limited to 'basic')
-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
6 files changed, 0 insertions, 21 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 );