summaryrefslogtreecommitdiff
path: root/sw/inc/calc.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-08-09 09:35:16 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-08-09 09:02:38 +0000
commitaf5fe812c8916483604b6bad1c1b4b9741577d5c (patch)
tree5dc78b895adba8632ab161764bc892dfb222394c /sw/inc/calc.hxx
parent60cfbcf9e77d4d88aae94226d74300e2490f8549 (diff)
sw: prefix members of SwCalc
Change-Id: I8603ce669c09419919ba9fb93788666f45783caa Reviewed-on: https://gerrit.libreoffice.org/27998 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/inc/calc.hxx')
-rw-r--r--sw/inc/calc.hxx38
1 files changed, 19 insertions, 19 deletions
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx
index 6b85dbdf0968..79b2be0d1ed4 100644
--- a/sw/inc/calc.hxx
+++ b/sw/inc/calc.hxx
@@ -151,24 +151,24 @@ CalcOp* FindOperator( const OUString& rSearch );
class SwCalc
{
- SwHash* VarTable[ TBLSZ ];
- OUString aVarName, sCurrSym;
- OUString sCommand;
- std::vector<const SwUserFieldType*> aRekurStack;
- SwSbxValue nLastLeft;
- SwSbxValue nNumberValue;
- SwCalcExp aErrExpr;
- sal_Int32 nCommandPos;
-
- SwDoc& rDoc;
+ SwHash* m_aVarTable[ TBLSZ ];
+ OUString m_aVarName, m_sCurrSym;
+ OUString m_sCommand;
+ std::vector<const SwUserFieldType*> m_aRekurStack;
+ SwSbxValue m_nLastLeft;
+ SwSbxValue m_nNumberValue;
+ SwCalcExp m_aErrExpr;
+ sal_Int32 m_nCommandPos;
+
+ SwDoc& m_rDoc;
SvtSysLocale m_aSysLocale;
- const LocaleDataWrapper* pLclData;
- CharClass* pCharClass;
+ const LocaleDataWrapper* m_pLocaleDataWrapper;
+ CharClass* m_pCharClass;
- sal_uInt16 nListPor;
- SwCalcOper eCurrOper;
- SwCalcOper eCurrListOper;
- SwCalcError eError;
+ sal_uInt16 m_nListPor;
+ SwCalcOper m_eCurrOper;
+ SwCalcOper m_eCurrListOper;
+ SwCalcError m_eError;
SwCalcOper GetToken();
SwSbxValue Expr();
@@ -193,13 +193,13 @@ public:
SwCalcExp* VarLook( const OUString &rStr, bool bIns = false );
void VarChange( const OUString& rStr, const SwSbxValue& rValue );
void VarChange( const OUString& rStr, double );
- SwHash** GetVarTable() { return VarTable; }
+ SwHash** GetVarTable() { return m_aVarTable; }
bool Push(const SwUserFieldType* pUserFieldType);
void Pop();
- void SetCalcError( SwCalcError eErr ) { eError = eErr; }
- bool IsCalcError() const { return 0 != eError; }
+ void SetCalcError( SwCalcError eErr ) { m_eError = eErr; }
+ bool IsCalcError() const { return 0 != m_eError; }
static bool Str2Double( const OUString& rStr, sal_Int32& rPos,
double& rVal );