From 9b2a24b9e32ded1b6dc111ddc06b7ed07c0b7d6d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 1 Oct 2016 12:15:04 +0100 Subject: rearrange SwCalc a little Change-Id: I42278cf63f3cf2a1c3362fcb8c4eeacab2a9de48 --- sw/inc/calc.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sw/inc/calc.hxx') diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx index 4610eaff6023..20f990191d11 100644 --- a/sw/inc/calc.hxx +++ b/sw/inc/calc.hxx @@ -148,6 +148,8 @@ void DeleteHashTable( SwHash** ppTable, sal_uInt16 nTableSize ); struct CalcOp; CalcOp* FindOperator( const OUString& rSearch ); +extern "C" typedef double (*pfCalc)(double); + class SwCalc { SwHash* m_aVarTable[ TBLSZ ]; @@ -173,6 +175,7 @@ class SwCalc SwSbxValue Expr(); SwSbxValue Term(); SwSbxValue Prim(); + SwSbxValue StdFunc(pfCalc pFnc, bool bChkTrig); static OUString GetColumnName( const OUString& rName ); OUString GetDBName( const OUString& rName ); -- cgit