summaryrefslogtreecommitdiff
path: root/svl/source/items/macitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/macitem.cxx')
-rw-r--r--svl/source/items/macitem.cxx22
1 files changed, 1 insertions, 21 deletions
diff --git a/svl/source/items/macitem.cxx b/svl/source/items/macitem.cxx
index 66d46d9d92f9..9f17f125a479 100644
--- a/svl/source/items/macitem.cxx
+++ b/svl/source/items/macitem.cxx
@@ -31,19 +31,9 @@ TYPEINIT1_FACTORY(SvxMacroItem, SfxPoolItem, new SvxMacroItem(0));
// -----------------------------------------------------------------------
-
-SjJSbxObjectBase::~SjJSbxObjectBase()
-{
-}
-
-SjJSbxObjectBase* SjJSbxObjectBase::Clone( void )
-{
- return NULL;
-}
-
SvxMacro::SvxMacro( const OUString &rMacName, const OUString &rLanguage)
: aMacName( rMacName ), aLibName( rLanguage),
- pFunctionObject(NULL), eType( EXTENDED_STYPE)
+ eType( EXTENDED_STYPE)
{
if ( rLanguage == SVX_MACRO_LANGUAGE_STARBASIC )
eType=STARBASIC;
@@ -51,12 +41,6 @@ SvxMacro::SvxMacro( const OUString &rMacName, const OUString &rLanguage)
eType=JAVASCRIPT;
}
-
-SvxMacro::~SvxMacro()
-{
- delete pFunctionObject;
-}
-
OUString SvxMacro::GetLanguage()const
{
if(eType==STARBASIC)
@@ -75,16 +59,12 @@ OUString SvxMacro::GetLanguage()const
return aLibName;
}
-
-
SvxMacro& SvxMacro::operator=( const SvxMacro& rBase )
{
if( this != &rBase )
{
aMacName = rBase.aMacName;
aLibName = rBase.aLibName;
- delete pFunctionObject;
- pFunctionObject = rBase.pFunctionObject ? rBase.pFunctionObject->Clone() : NULL;
eType = rBase.eType;
}
return *this;