summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-08-05 17:17:27 +0200
committerMichael Stahl <mstahl@redhat.com>2013-08-08 23:25:26 +0200
commitc66a0e9c86e77a2615e50152c9b26d73c722ef23 (patch)
tree71d2a327429dff29b77c2132b3c621acf3884997 /svl
parent92a2862e5c0dd60fd6ed8ae21bd6f4852f0044a1 (diff)
remove obsolete SjJSbxObject cruft
Change-Id: Ieb10d3bd8fc23650156906292bf3d0757565e2af
Diffstat (limited to 'svl')
-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;