]> git.pld-linux.org Git - packages/libreoffice.git/blame - openoffice-speed-lang-cache.patch
- up
[packages/libreoffice.git] / openoffice-speed-lang-cache.patch
CommitLineData
d7335463 1Index: svx/source/stbctrls/pszctrl.cxx
2===================================================================
3RCS file: /cvs/graphics/svx/source/stbctrls/pszctrl.cxx,v
4retrieving revision 1.5
5diff -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.05158 seconds and 4 git commands to generate.