diff options
author | Eike Rathke <er@openoffice.org> | 2001-11-23 18:25:50 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2001-11-23 18:25:50 +0000 |
commit | 2b21eb7d9c738d27b7b93517a31b9e050e7dc37b (patch) | |
tree | cadcadb922f041c231cda61d8e9244e7eaa999cc /basic/source/runtime/runtime.cxx | |
parent | 9cc24c70262d39fbc8e01a0169490d9a2667421a (diff) |
#94368# get rid of class International
Diffstat (limited to 'basic/source/runtime/runtime.cxx')
-rw-r--r-- | basic/source/runtime/runtime.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 1a83c74fdae9..8a8a38cb821d 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -2,9 +2,9 @@ * * $RCSfile: runtime.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: mh $ $Date: 2001-10-17 18:35:14 $ + * last change: $Author: er $ $Date: 2001-11-23 19:17:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,9 +65,6 @@ #ifndef _SV_SVAPP_HXX //autogen #include <vcl/svapp.hxx> #endif -#ifndef _INTN_HXX //autogen -#include <tools/intn.hxx> -#endif #ifndef _ZFORLIST_HXX //autogen #include <svtools/zforlist.hxx> @@ -86,6 +83,10 @@ #include <comphelper/processfactory.hxx> #endif +#ifndef INCLUDED_SVTOOLS_SYSLOCALE_HXX +#include <svtools/syslocale.hxx> +#endif + // Makro MEMBER() #include <macfix.hxx> @@ -344,8 +345,7 @@ SvNumberFormatter* SbiInstance::GetNumberFormatter() void SbiInstance::PrepareNumberFormatter( SvNumberFormatter*& rpNumberFormatter, ULONG &rnStdDateIdx, ULONG &rnStdTimeIdx, ULONG &rnStdDateTimeIdx ) { - const International& rInter = GetpApp()->GetAppInternational(); - LanguageType eLangType = rInter.GetLanguage(); + LanguageType eLangType = Application::GetSettings().GetLanguage(); com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory > xFactory = comphelper::getProcessServiceFactory(); @@ -364,7 +364,7 @@ void SbiInstance::PrepareNumberFormatter( SvNumberFormatter*& rpNumberFormatter, // austauscht. Problem: Print Year(Date) unter engl. BS // siehe auch svtools\source\sbx\sbxdate.cxx - DateFormat eDate = rInter.GetDateFormat(); + DateFormat eDate = SvtSysLocale().GetLocaleData().getDateFormat(); String aDateStr; switch( eDate ) { |