diff options
author | jp <jp@openoffice.org> | 2000-10-24 10:38:19 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2000-10-24 10:38:19 +0000 |
commit | 07b84947da9feb506cf7aeff1b8e4696189b2dbd (patch) | |
tree | 161bbce3e4602d8979438a8b86df44160e8ce21c /sw/source/ui/fldui | |
parent | 57fd7229c73ee033a8a4b14607d6a019579e1593 (diff) |
must change: use charclass instead of international
Diffstat (limited to 'sw/source/ui/fldui')
-rw-r--r-- | sw/source/ui/fldui/inpdlg.cxx | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/sw/source/ui/fldui/inpdlg.cxx b/sw/source/ui/fldui/inpdlg.cxx index 22767712b20d..0996ffdd27c5 100644 --- a/sw/source/ui/fldui/inpdlg.cxx +++ b/sw/source/ui/fldui/inpdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: inpdlg.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:37 $ + * last change: $Author: jp $ $Date: 2000-10-24 11:38:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,6 +70,12 @@ #ifndef _MSGBOX_HXX //autogen #include <vcl/msgbox.hxx> #endif +#ifndef _UNOTOOLS_CHARCLASS_HXX +#include <unotools/charclass.hxx> +#endif +#ifndef _UNO_LINGU_HXX +#include <svx/unolingu.hxx> +#endif #ifndef _WRTSH_HXX #include <wrtsh.hxx> @@ -166,8 +172,8 @@ SwFldInputDlg::SwFldInputDlg( Window *pParent, SwWrtShell &rS, pSetFld = (SwSetExpField*)pField; String sFormula(pSetFld->GetFormula()); //values are formatted - formulas are not - International aInt(pSetFld->GetLanguage()); - if(aInt.IsNumeric(sFormula)) + CharClass aCC( SvxCreateLocale( pSetFld->GetLanguage() )); + if( aCC.isNumeric( sFormula )) aStr = pSetFld->Expand(); else aStr = sFormula; @@ -243,6 +249,9 @@ IMPL_LINK(SwFldInputDlg, NextHdl, PushButton*, EMPTYARG) /************************************************************************* $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 17:14:37 hr + initial import + Revision 1.48 2000/09/18 16:05:30 willem.vandorp OpenOffice header added. |