]> git.pld-linux.org Git - packages/libreoffice.git/blob - openoffice-speed-lang-cache.patch
- up
[packages/libreoffice.git] / openoffice-speed-lang-cache.patch
1 Index: svx/source/stbctrls/pszctrl.cxx
2 ===================================================================
3 RCS file: /cvs/graphics/svx/source/stbctrls/pszctrl.cxx,v
4 retrieving revision 1.5
5 diff -u -r1.5 pszctrl.cxx
6 --- svx/source/stbctrls/pszctrl.cxx     10 Jul 2001 11:22:50 -0000      1.5
7 +++ svx/source/stbctrls/pszctrl.cxx     6 Dec 2002 16:41:37 -0000
8 @@ -143,10 +143,9 @@
9                 eInUnit = FUNIT_100TH_MM;
10  
11         String sMetric;
12 -       LocaleDataWrapper aLocaleWrapper( ::comphelper::getProcessServiceFactory(), Application::GetSettings().GetLocale() );
13 -       const sal_Unicode cSep = aLocaleWrapper.getNumDecimalSep().GetChar(0);
14 +       const sal_Unicode cSep = Application::GetSettings().GetLocaleDataWrapper().getNumDecimalSep().GetChar(0);
15         long nConvVal = MetricField::ConvertValue( nVal * 100, 0L, 0,
16 -                                                                                          eInUnit, eOutUnit );
17 +                                                  eInUnit, eOutUnit );
18  
19         if ( nConvVal < 0 && ( nConvVal / 100 == 0 ) )
20                 sMetric += '-';
This page took 0.033931 seconds and 3 git commands to generate.