diff options
author | Julien Chaffraix <julien.chaffraix@gmail.com> | 2011-11-13 22:35:28 -0800 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-11-15 10:41:35 +0000 |
commit | e5f5167e848237e7ca4cfc00fa916d07f8b73f1a (patch) | |
tree | 49beded082dbed8872c022fab167f31c7c6f8815 /basic/inc | |
parent | 57ecb72e86f68aaea06053d71b1063264a0aa140 (diff) |
FDO#39446 [EasyHack] Bloat Removal. Removing uncallable code with callcatcher
Removed most unused symbols in basic/. The remaining symbols (SdxDecimal) are
Windows specific and thus should be double-checked on a Windows machine prior
to removal.
Diffstat (limited to 'basic/inc')
-rw-r--r-- | basic/inc/basic/sbx.hxx | 7 | ||||
-rw-r--r-- | basic/inc/basic/sbxobj.hxx | 9 | ||||
-rw-r--r-- | basic/inc/basic/sbxvar.hxx | 10 |
3 files changed, 0 insertions, 26 deletions
diff --git a/basic/inc/basic/sbx.hxx b/basic/inc/basic/sbx.hxx index efe4297c3886..7a74e2559089 100644 --- a/basic/inc/basic/sbx.hxx +++ b/basic/inc/basic/sbx.hxx @@ -100,7 +100,6 @@ public: SbxInfo( const String&, sal_uInt32 ); void AddParam( const String&, SbxDataType, sal_uInt16=SBX_READ ); - void AddParam( const SbxParamInfo& ); const SbxParamInfo* GetParam( sal_uInt16 n ) const; // index starts with 1! const String& GetComment() const { return aComment; } const String& GetHelpFile() const { return aHelpFile; } @@ -139,7 +138,6 @@ class BASIC_DLLPUBLIC SbxAlias : public SbxVariable, public SfxListener virtual void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, const SfxHint& rHint, const TypeId& rHintType ); public: - SbxAlias( const String& rName, SbxVariable* pOriginal ); SbxAlias( const SbxAlias& ); SbxAlias& operator=( const SbxAlias& ); }; @@ -227,7 +225,6 @@ class BASIC_DLLPUBLIC SbxDimArray : public SbxArray protected: sal_uInt16 Offset( const short* ); sal_uInt32 Offset32( const sal_Int32* ); - sal_uInt16 Offset( SbxArray* ); sal_uInt32 Offset32( SbxArray* ); virtual sal_Bool LoadData( SvStream&, sal_uInt16 ); virtual sal_Bool StoreData( SvStream& ) const; @@ -240,14 +237,11 @@ public: SbxDimArray& operator=( const SbxDimArray& ); virtual void Clear(); using SbxArray::GetRef; - SbxVariableRef& GetRef( const short* ); using SbxArray::Get; SbxVariable* Get( const short* ); using SbxArray::Put; void Put( SbxVariable*, const short* ); - SbxVariableRef& GetRef( SbxArray* ); SbxVariable* Get( SbxArray* ); - void Put( SbxVariable*, SbxArray* ); short GetDims() const; void AddDim( short, short ); @@ -255,7 +249,6 @@ public: sal_Bool GetDim( short, short&, short& ) const; using SbxArray::GetRef32; - SbxVariableRef& GetRef32( const sal_Int32* ); using SbxArray::Get32; SbxVariable* Get32( const sal_Int32* ); using SbxArray::Put32; diff --git a/basic/inc/basic/sbxobj.hxx b/basic/inc/basic/sbxobj.hxx index 0a4e8754a1fa..653437ed8745 100644 --- a/basic/inc/basic/sbxobj.hxx +++ b/basic/inc/basic/sbxobj.hxx @@ -44,8 +44,6 @@ class BASIC_DLLPUBLIC SbxObject : public SbxVariable, public SfxListener SbxObjectImpl* mpSbxObjectImpl; // Impl data BASIC_DLLPRIVATE SbxArray* FindVar( SbxVariable*, sal_uInt16& ); - // AB 23.3.1997, special method for VCPtrRemove (see below) - BASIC_DLLPRIVATE SbxArray* VCPtrFindVar( SbxVariable*, sal_uInt16& ); protected: SbxArrayRef pMethods; // Methods SbxArrayRef pProps; // Properties @@ -91,13 +89,8 @@ public: // AB 23.4.1997, Optimization, Insertion without check for duplicate Entries and // without Broadcasts, only used in SO2/auto.cxx void QuickInsert( SbxVariable* ); - // AB 23.3.1997, Special-Method, allow corresponding controls - void VCPtrInsert( SbxVariable* ); virtual void Remove( const String&, SbxClassType ); virtual void Remove( SbxVariable* ); - // AB 23.3.1997, deletion per pointer for controls (duplicate names!) - void VCPtrRemove( SbxVariable* ); - void SetPos( SbxVariable*, sal_uInt16 ); // Macro-Recording virtual String GenerateSource( const String &rLinePrefix, @@ -110,8 +103,6 @@ public: virtual SvDispatch* GetSvDispatch(); // Debugging void Dump( SvStream&, sal_Bool bDumpAll=sal_False ); - - static void GarbageCollection( sal_uIntPtr nObjects = 0 /* ::= all */ ); }; #ifndef __SBX_SBXOBJECTREF_HXX diff --git a/basic/inc/basic/sbxvar.hxx b/basic/inc/basic/sbxvar.hxx index 350dcf6d56bb..485c33e7f796 100644 --- a/basic/inc/basic/sbxvar.hxx +++ b/basic/inc/basic/sbxvar.hxx @@ -164,7 +164,6 @@ public: sal_Bool SetType( SbxDataType ); virtual sal_Bool Get( SbxValues& ) const; - sal_Bool GetNoBroadcast( SbxValues& ); const SbxValues& GetValues_Impl() const { return aData; } virtual sal_Bool Put( const SbxValues& ); @@ -184,18 +183,14 @@ public: double GetDate() const; sal_Bool GetBool() const; - sal_uInt16 GetErr() const; const String& GetString() const; const String& GetCoreString() const; rtl::OUString GetOUString() const; SbxBase* GetObject() const; - sal_Bool HasObject() const; - void* GetData() const; sal_uInt8 GetByte() const; sal_uInt16 GetUShort() const; sal_uInt32 GetULong() const; - int GetInt() const; sal_Bool PutInteger( sal_Int16 ); sal_Bool PutLong( sal_Int32 ); @@ -208,26 +203,21 @@ public: sal_Bool PutInt64( sal_Int64 ); sal_Bool PutUInt64( sal_uInt64 ); sal_Bool PutString( const ::rtl::OUString& ); - sal_Bool PutString( const sal_Unicode* ); // Type = SbxSTRING - sal_Bool PutpChar( const sal_Unicode* ); // Type = SbxLPSTR sal_Bool PutChar( sal_Unicode ); sal_Bool PutByte( sal_uInt8 ); sal_Bool PutUShort( sal_uInt16 ); sal_Bool PutULong( sal_uInt32 ); - sal_Bool PutInt( int ); sal_Bool PutEmpty(); sal_Bool PutNull(); // Special methods sal_Bool PutDecimal( com::sun::star::bridge::oleautomation::Decimal& rAutomationDec ); sal_Bool fillAutomationDecimal( com::sun::star::bridge::oleautomation::Decimal& rAutomationDec ); - sal_Bool PutDecimal( SbxDecimal* pDecimal ); sal_Bool PutCurrency( const sal_Int64& ); // Interface for CDbl in Basic static SbxError ScanNumIntnl( const String& rSrc, double& nVal, sal_Bool bSingle = sal_False ); sal_Bool PutObject( SbxBase* ); - sal_Bool PutData( void* ); virtual sal_Bool Convert( SbxDataType ); virtual sal_Bool Compute( SbxOperator, const SbxValue& ); |