diff options
author | Eike Rathke <er@openoffice.org> | 2001-01-31 18:37:51 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2001-01-31 18:37:51 +0000 |
commit | 57c0c8eb70d4f250cbb27d63cdfef10c9736a0a4 (patch) | |
tree | 8fb0d22d8a2804de2730308af66923140b3eae1b /sc/source/ui/view/colrowba.cxx | |
parent | 99d0e5ff0ca4cddccfc83091205c3889521293e9 (diff) |
LocaleDataWrapper getDate, getTime, getNum instead of International
Diffstat (limited to 'sc/source/ui/view/colrowba.cxx')
-rw-r--r-- | sc/source/ui/view/colrowba.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sc/source/ui/view/colrowba.cxx b/sc/source/ui/view/colrowba.cxx index 03c2f3c4ae9e..98ed1195fc58 100644 --- a/sc/source/ui/view/colrowba.cxx +++ b/sc/source/ui/view/colrowba.cxx @@ -2,9 +2,9 @@ * * $RCSfile: colrowba.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2000-09-22 18:33:31 $ + * last change: $Author: er $ $Date: 2001-01-31 19:37:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -350,6 +350,10 @@ #include <svx/svdtrans.hxx> +#ifndef _UNOTOOLS_LOCALEDATAWRAPPER_HXX +#include <unotools/localedatawrapper.hxx> +#endif + #include "colrowba.hxx" #include "document.hxx" #include "scmod.hxx" @@ -370,11 +374,10 @@ String lcl_MetricString( long nTwips, const String& rText ) FieldUnit eUserMet = SC_MOD()->GetAppOptions().GetAppMetric(); long nUserVal = MetricField::ConvertValue( nTwips*100, 1, 2, FUNIT_TWIP, eUserMet ); - String aNum = ScGlobal::pScInternational->GetNum( nUserVal, 2 ); String aStr = rText; aStr += ' '; - aStr += aNum; + aStr += ScGlobal::pLocaleData->getNum( nUserVal, 2 ); aStr += ' '; aStr += SdrFormatter::GetUnitStr(eUserMet); |