diff options
Diffstat (limited to 'sw/inc/calc.hxx')
-rw-r--r-- | sw/inc/calc.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
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 ); |