diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2016-08-28 11:52:53 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-29 06:21:34 +0000 |
commit | 301279ea15f0310367598300f884062333628767 (patch) | |
tree | d8241565a0cad208aa5e3e84db06382bb0209f45 /basic | |
parent | 31714a78eba0fc1cfa3c1a9e0456c2c7ee4edf77 (diff) |
BASIC : Remove useless SbxBase::GetCreator
Change-Id: I3d9aa358ffaefc11b7d2427f2b567c360be2c667
Reviewed-on: https://gerrit.libreoffice.org/28434
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/inc/sbprop.hxx | 2 | ||||
-rw-r--r-- | basic/source/inc/sbjsmeth.hxx | 2 | ||||
-rw-r--r-- | basic/source/inc/sbjsmod.hxx | 2 | ||||
-rw-r--r-- | basic/source/sbx/sbxbase.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/basic/inc/sbprop.hxx b/basic/inc/sbprop.hxx index fbeb1386d2f9..2d4418068fd5 100644 --- a/basic/inc/sbprop.hxx +++ b/basic/inc/sbprop.hxx @@ -35,7 +35,7 @@ class BASIC_DLLPUBLIC SbProperty : public SbxProperty BASIC_DLLPRIVATE SbProperty( const OUString&, SbxDataType, SbModule* ); virtual ~SbProperty(); public: - SBX_DECL_PERSIST_NODATA(SBXCR_SBX,SBXID_BASICPROP,1); + SBX_DECL_PERSIST_NODATA(SBXID_BASICPROP,1); SbModule* GetModule() { return pMod; } }; diff --git a/basic/source/inc/sbjsmeth.hxx b/basic/source/inc/sbjsmeth.hxx index ffd6c1eff241..c33f47dcd46b 100644 --- a/basic/source/inc/sbjsmeth.hxx +++ b/basic/source/inc/sbjsmeth.hxx @@ -33,7 +33,7 @@ public: SbJScriptMethod( const OUString&, SbxDataType, SbModule* ); virtual ~SbJScriptMethod(); - SBX_DECL_PERSIST_NODATA(SBXCR_SBX,SBXID_JSCRIPTMETH,2); + SBX_DECL_PERSIST_NODATA(SBXID_JSCRIPTMETH,2); }; diff --git a/basic/source/inc/sbjsmod.hxx b/basic/source/inc/sbjsmod.hxx index 9fa77e0c3d15..a29d5704d469 100644 --- a/basic/source/inc/sbjsmod.hxx +++ b/basic/source/inc/sbjsmod.hxx @@ -31,7 +31,7 @@ class SbJScriptModule : public SbModule virtual bool LoadData( SvStream&, sal_uInt16 ) override; virtual bool StoreData( SvStream& ) const override; public: - SBX_DECL_PERSIST_NODATA(SBXCR_SBX,SBXID_JSCRIPTMOD,1); + SBX_DECL_PERSIST_NODATA(SBXID_JSCRIPTMOD,1); SbJScriptModule( const OUString& ); // hand through }; diff --git a/basic/source/sbx/sbxbase.cxx b/basic/source/sbx/sbxbase.cxx index 7ff452d5aa12..c5e11629a161 100644 --- a/basic/source/sbx/sbxbase.cxx +++ b/basic/source/sbx/sbxbase.cxx @@ -243,7 +243,7 @@ bool SbxBase::Store( SvStream& rStrm ) { if( ( nFlags & SbxFlagBits::DontStore ) == SbxFlagBits::NONE ) { - rStrm.WriteUInt32( GetCreator() ) + rStrm.WriteUInt32( SBXCR_SBX ) .WriteUInt16( GetSbxId() ) .WriteUInt16( static_cast<sal_uInt16>(GetFlags()) ) .WriteUInt16( GetVersion() ); |