diff options
author | jp <jp@openoffice.org> | 2001-02-13 19:32:47 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2001-02-13 19:32:47 +0000 |
commit | 4b920e0b45a42c55503dc03a7297733fb2cfb2a3 (patch) | |
tree | 43b67b675b55815f80bbfee0cd67a3bb0d341762 /sw/inc/calc.hxx | |
parent | 1543fb30216aca4e41d7283d96730a37834318f0 (diff) |
Bug #83829#: validate fieldname
Diffstat (limited to 'sw/inc/calc.hxx')
-rw-r--r-- | sw/inc/calc.hxx | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx index 8bc3bd350bd7..f6834e79b5b7 100644 --- a/sw/inc/calc.hxx +++ b/sw/inc/calc.hxx @@ -2,9 +2,9 @@ * * $RCSfile: calc.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: jp $ $Date: 2000-11-21 14:22:40 $ + * last change: $Author: jp $ $Date: 2001-02-13 20:31:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -253,11 +253,14 @@ public: void SetCalcError( SwCalcError eErr ) { eError = eErr; } BOOL IsCalcError() const { return eError; } - static FASTBOOL Str2Double( const String& rStr, xub_StrLen& rPos, - double& rVal, - const LocaleDataWrapper* pData = 0 ); - static FASTBOOL Str2Double( const String& rStr, xub_StrLen& rPos, - double& rVal, SwDoc* pDoc ); + static FASTBOOL Str2Double( const String& rStr, xub_StrLen& rPos, + double& rVal, + const LocaleDataWrapper* pData = 0 ); + static FASTBOOL Str2Double( const String& rStr, xub_StrLen& rPos, + double& rVal, SwDoc* pDoc ); + + static FASTBOOL IsValidVarName( const String& rStr, + String* pValidName = 0 ); }; #endif |