diff options
Diffstat (limited to 'basic/inc/basic/sbxvar.hxx')
-rw-r--r-- | basic/inc/basic/sbxvar.hxx | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/basic/inc/basic/sbxvar.hxx b/basic/inc/basic/sbxvar.hxx index f1af839f2471..6e6aee88e833 100644 --- a/basic/inc/basic/sbxvar.hxx +++ b/basic/inc/basic/sbxvar.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -165,9 +165,9 @@ class SbxDecimal; struct SbxValues { union { - sal_Unicode nChar; - BYTE nByte; - INT16 nInteger; + sal_Unicode nChar; + BYTE nByte; + INT16 nInteger; INT32 nLong; UINT16 nUShort; UINT32 nULong; @@ -180,26 +180,26 @@ struct SbxValues int nInt; unsigned int nUInt; ::rtl::OUString* pOUString; - SbxDecimal* pDecimal; + SbxDecimal* pDecimal; SbxBase* pObj; sal_Unicode* pChar; - BYTE* pByte; - INT16* pInteger; - INT32* pLong; - UINT16* pUShort; - UINT32* pULong; - float* pSingle; - double* pDouble; + BYTE* pByte; + INT16* pInteger; + INT32* pLong; + UINT16* pUShort; + UINT32* pULong; + float* pSingle; + double* pDouble; SbxINT64* pLong64; SbxUINT64* pULong64; sal_Int64* pnInt64; sal_uInt64* puInt64; - int* pInt; + int* pInt; unsigned int* pUInt; - void* pData; + void* pData; }; - SbxDataType eType; + SbxDataType eType; SbxValues(): pData( NULL ), eType(SbxEMPTY) {} SbxValues( SbxDataType e ): eType(e) {} @@ -231,7 +231,7 @@ class SbxValueImpl; class SbxValue : public SbxBase { - SbxValueImpl* mpSbxValueImplImpl; // Impl data + SbxValueImpl* mpSbxValueImplImpl; // Impl data // #55226 Transport additional infos SbxValue* TheRealValue( BOOL bObjInObjError ) const; @@ -241,7 +241,7 @@ protected: ::rtl::OUString aPic; // Picture-String String aToolString; // tool string copy - virtual void Broadcast( ULONG ); // Broadcast-Call + virtual void Broadcast( ULONG ); // Broadcast-Call virtual ~SbxValue(); virtual BOOL LoadData( SvStream&, USHORT ); virtual BOOL StoreData( SvStream& ) const; @@ -276,8 +276,8 @@ public: BOOL IsUInt() const { return BOOL( GetType() == SbxUINT ); } BOOL IspChar() const { return BOOL( GetType() == SbxLPSTR ); } BOOL IsNumeric() const; - BOOL IsNumericRTL() const; // #41692 Interface for Basic - BOOL ImpIsNumeric( BOOL bOnlyIntntl ) const; // Implementation + BOOL IsNumericRTL() const; // #41692 Interface for Basic + BOOL ImpIsNumeric( BOOL bOnlyIntntl ) const; // Implementation virtual SbxClassType GetClass() const; virtual SbxDataType GetType() const; @@ -308,13 +308,13 @@ public: ::rtl::OUString GetOUString() const; SbxDecimal* GetDecimal() const; SbxBase* GetObject() const; - BOOL HasObject() const; + BOOL HasObject() const; void* GetData() const; sal_Unicode GetChar() const; BYTE GetByte() const; UINT16 GetUShort() const; UINT32 GetULong() const; - int GetInt() const; + int GetInt() const; BOOL PutCurrency( const SbxINT64& ); BOOL PutLong64( const SbxINT64& ); @@ -445,8 +445,8 @@ class SbxVariable : public SbxValue { friend class SbMethod; - SbxVariableImpl* mpSbxVariableImpl; // Impl data - SfxBroadcaster* pCst; // Broadcaster, if needed + SbxVariableImpl* mpSbxVariableImpl; // Impl data + SfxBroadcaster* pCst; // Broadcaster, if needed String maName; // Name, if available SbxArrayRef mpPar; // Parameter-Array, if set USHORT nHash; // Hash-ID for search @@ -472,11 +472,11 @@ public: virtual void SetName( const String& ); virtual const String& GetName( SbxNameType = SbxNAME_NONE ) const; - USHORT GetHashCode() const { return nHash; } + USHORT GetHashCode() const { return nHash; } virtual void SetModified( BOOL ); - sal_uIntPtr GetUserData() const { return nUserData; } + sal_uIntPtr GetUserData() const { return nUserData; } void SetUserData( sal_uIntPtr n ) { nUserData = n; } virtual SbxDataType GetType() const; @@ -486,7 +486,7 @@ public: virtual SbxInfo* GetInfo(); void SetInfo( SbxInfo* p ); void SetParameters( SbxArray* p ); - SbxArray* GetParameters() const { return mpPar; } + SbxArray* GetParameters() const { return mpPar; } // Sfx-Broadcasting-Support: // Due to data reduction and better DLL-hierarchie currently via casting @@ -512,6 +512,6 @@ SV_DECL_REF(SbxVariable) #endif -#endif // _SBXVAR_HXX +#endif // _SBXVAR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |