[Libreoffice-commits] .: formula/inc
Eike Rathke
erack at kemper.freedesktop.org
Tue Aug 23 15:17:18 PDT 2011
formula/inc/formula/token.hxx | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
New commits:
commit 9f6b7cde5415eee5c26f890e78d6a6ed2ff6861f
Author: Eike Rathke <erack at erack.de>
Date: Wed Aug 24 00:17:08 2011 +0200
cosmetics
diff --git a/formula/inc/formula/token.hxx b/formula/inc/formula/token.hxx
index ccbc4ab..41b68ef 100644
--- a/formula/inc/formula/token.hxx
+++ b/formula/inc/formula/token.hxx
@@ -101,7 +101,7 @@ class FORMULA_DLLPUBLIC FormulaToken : public IFormulaToken
protected:
const StackVar eType; // type of data
- mutable sal_uInt16 nRefCnt; // reference count
+ mutable sal_uInt16 nRefCnt; // reference count
public:
FormulaToken( StackVar eTypeP,OpCode e = ocPush ) :
@@ -116,14 +116,14 @@ public:
bool IsFunction() const; // pure functions, no operators
bool IsMatrixFunction() const; // if a function _always_ returns a Matrix
bool IsExternalRef() const;
- sal_uInt8 GetParamCount() const;
+ sal_uInt8 GetParamCount() const;
inline void IncRef() const { nRefCnt++; }
inline void DecRef() const
{
if (!--nRefCnt)
const_cast<FormulaToken*>(this)->Delete();
}
- inline sal_uInt16 GetRef() const { return nRefCnt; }
+ inline sal_uInt16 GetRef() const { return nRefCnt; }
inline OpCode GetOpCode() const { return eOp; }
/**
@@ -141,19 +141,19 @@ public:
Any other non-overloaded method pops up an assertion.
*/
- virtual sal_uInt8 GetByte() const;
+ virtual sal_uInt8 GetByte() const;
virtual void SetByte( sal_uInt8 n );
virtual bool HasForceArray() const;
virtual void SetForceArray( bool b );
virtual double GetDouble() const;
virtual double& GetDoubleAsReference();
virtual const String& GetString() const;
- virtual sal_uInt16 GetIndex() const;
+ virtual sal_uInt16 GetIndex() const;
virtual void SetIndex( sal_uInt16 n );
virtual short* GetJump() const;
virtual const String& GetExternal() const;
virtual FormulaToken* GetFAPOrigToken() const;
- virtual sal_uInt16 GetError() const;
+ virtual sal_uInt16 GetError() const;
virtual void SetError( sal_uInt16 );
virtual FormulaToken* Clone() const { return new FormulaToken(*this); }
@@ -195,7 +195,7 @@ inline void intrusive_ptr_release(const FormulaToken* p)
class FORMULA_DLLPUBLIC FormulaByteToken : public FormulaToken
{
private:
- sal_uInt8 nByte;
+ sal_uInt8 nByte;
bool bHasForceArray;
protected:
FormulaByteToken( OpCode e, sal_uInt8 n, StackVar v, bool b ) :
@@ -216,7 +216,7 @@ public:
bHasForceArray( r.bHasForceArray ) {}
virtual FormulaToken* Clone() const { return new FormulaByteToken(*this); }
- virtual sal_uInt8 GetByte() const;
+ virtual sal_uInt8 GetByte() const;
virtual void SetByte( sal_uInt8 n );
virtual bool HasForceArray() const;
virtual void SetForceArray( bool b );
@@ -231,7 +231,7 @@ public:
class FORMULA_DLLPUBLIC FormulaFAPToken : public FormulaByteToken
{
private:
- FormulaTokenRef pOrigToken;
+ FormulaTokenRef pOrigToken;
public:
FormulaFAPToken( OpCode e, sal_uInt8 n, FormulaToken* p ) :
FormulaByteToken( e, n, svFAP, false ),
@@ -301,8 +301,8 @@ public:
class FORMULA_DLLPUBLIC FormulaIndexToken : public FormulaToken
{
private:
- sal_uInt16 nIndex;
- bool mbGlobal;
+ sal_uInt16 nIndex;
+ bool mbGlobal;
public:
FormulaIndexToken( OpCode e, sal_uInt16 n, bool bGlobal = true ) :
FormulaToken( svIndex, e ), nIndex( n ), mbGlobal( bGlobal ) {}
@@ -321,7 +321,7 @@ class FORMULA_DLLPUBLIC FormulaExternalToken : public FormulaToken
{
private:
String aExternal;
- sal_uInt8 nByte;
+ sal_uInt8 nByte;
public:
FormulaExternalToken( OpCode e, sal_uInt8 n, const String& r ) :
FormulaToken( svExternal, e ), aExternal( r ),
@@ -335,7 +335,7 @@ public:
virtual FormulaToken* Clone() const { return new FormulaExternalToken(*this); }
virtual const String& GetExternal() const;
- virtual sal_uInt8 GetByte() const;
+ virtual sal_uInt8 GetByte() const;
virtual void SetByte( sal_uInt8 n );
virtual bool operator==( const FormulaToken& rToken ) const;
};
@@ -411,7 +411,7 @@ public:
class FORMULA_DLLPUBLIC FormulaErrorToken : public FormulaToken
{
- sal_uInt16 nError;
+ sal_uInt16 nError;
public:
FormulaErrorToken( sal_uInt16 nErr ) :
FormulaToken( svError ), nError( nErr) {}
@@ -419,7 +419,7 @@ public:
FormulaToken( r ), nError( r.nError) {}
virtual FormulaToken* Clone() const { return new FormulaErrorToken(*this); }
- virtual sal_uInt16 GetError() const;
+ virtual sal_uInt16 GetError() const;
virtual void SetError( sal_uInt16 nErr );
virtual bool operator==( const FormulaToken& rToken ) const;
};
More information about the Libreoffice-commits
mailing list