summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbxmod.cxx4
-rw-r--r--basic/source/comp/parser.cxx4
-rw-r--r--basic/source/inc/parser.hxx2
-rw-r--r--basic/source/inc/runtime.hxx2
-rw-r--r--basic/source/runtime/runtime.cxx7
-rw-r--r--basic/source/sbx/sbxarray.cxx4
-rw-r--r--basic/source/sbx/sbxvar.cxx4
7 files changed, 2 insertions, 25 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 10228a89810d..1fb6195cdc1f 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1063,10 +1063,6 @@ void ClearUnoObjectsInRTL_Impl( StarBASIC* pBasic )
ClearUnoObjectsInRTL_Impl_Rek( (StarBASIC*)p );
}
-bool SbModule::IsVBACompat() const
-{
- return mbVBACompat;
-}
void SbModule::SetVBACompat( bool bCompat )
{
diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx
index 2ffbc66c408a..c7e122ae317f 100644
--- a/basic/source/comp/parser.cxx
+++ b/basic/source/comp/parser.cxx
@@ -314,10 +314,6 @@ void SbiParser::SetCodeCompleting( const bool& b )
bCodeCompleting = b;
}
-bool SbiParser::IsCodeCompleting() const
-{
- return bCodeCompleting;
-}
bool SbiParser::Parse()
{
diff --git a/basic/source/inc/parser.hxx b/basic/source/inc/parser.hxx
index caf65c56b560..0e39423b48c4 100644
--- a/basic/source/inc/parser.hxx
+++ b/basic/source/inc/parser.hxx
@@ -83,7 +83,7 @@ public:
SbiParser( StarBASIC*, SbModule* );
bool Parse();
void SetCodeCompleting( const bool& b );
- bool IsCodeCompleting() const;
+ bool IsCodeCompleting() const { return bCodeCompleting;}
SbiExprNode* GetWithVar();
// from 31.3.1996, search symbol in the runtime-library
diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx
index cbbe3ff95c60..49fd3410784d 100644
--- a/basic/source/inc/runtime.hxx
+++ b/basic/source/inc/runtime.hxx
@@ -407,7 +407,7 @@ public:
SbModule* GetModule() { return pMod; }
sal_uInt16 GetDebugFlags() { return nFlags; }
void SetDebugFlags( sal_uInt16 nFl ) { nFlags = nFl; }
- SbMethod* GetCaller();
+ SbMethod* GetCaller() { return pMeth;}
SbxVariable* GetExternalCaller(){ return mpExtCaller; }
SbiForStack* FindForStackItemForCollection( class BasicCollection* pCollection );
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index e13855be478f..63debf2a043f 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -977,13 +977,6 @@ sal_Int32 SbiRuntime::translateErrorToVba( SbError nError, OUString& rMsg )
return nVBAErrorNumber;
}
-// Parameter, Locals, Caller
-
-SbMethod* SbiRuntime::GetCaller()
-{
- return pMeth;
-}
-
// Stacks
// The expression-stack is available for the continuous evaluation
diff --git a/basic/source/sbx/sbxarray.cxx b/basic/source/sbx/sbxarray.cxx
index 5ed2fded14b6..61ff86e1821a 100644
--- a/basic/source/sbx/sbxarray.cxx
+++ b/basic/source/sbx/sbxarray.cxx
@@ -649,10 +649,6 @@ void SbxDimArray::AddDimImpl32( sal_Int32 lb, sal_Int32 ub, bool bAllowSize0 )
SetError( eRes );
}
-short SbxDimArray::GetDims() const
-{
- return nDim;
-}
void SbxDimArray::AddDim( short lb, short ub )
{
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx
index c0de91f74e40..f112e046ea60 100644
--- a/basic/source/sbx/sbxvar.cxx
+++ b/basic/source/sbx/sbxvar.cxx
@@ -138,10 +138,6 @@ SbxArray* SbxVariable::GetParameters() const
return mpPar;
}
-SbxObject* SbxVariable::GetParent()
-{
- return pParent;
-}
// Perhaps some day one could cut the parameter 0.
// then the copying will be dropped ...