update dev300-m57
[ooovba.git] / applied_patches / 0132-sc-excel-chart-default-xlabels.diff
blobd04090390c742741a69bbe181b78aeebf5632512
1 diff -urp --exclude sc.vpj sc.clean/source/ui/unoobj/chart2uno.cxx sc/source/ui/unoobj/chart2uno.cxx
2 --- sc.clean/source/ui/unoobj/chart2uno.cxx 2007-11-14 10:13:14.000000000 -0500
3 +++ sc/source/ui/unoobj/chart2uno.cxx 2007-11-15 14:54:19.000000000 -0500
4 @@ -1726,14 +1726,9 @@ uno::Sequence< ::rtl::OUString > SAL_CAL
6 else
8 - for (sal_Int32 nRow = p->aStart.Row(); nRow <= p->aEnd.Row(); ++nRow)
9 - {
10 - String aString = ScGlobal::GetRscString(STR_ROW);
11 - aString += ' ';
12 - aString += String::CreateFromInt32( nRow+1 );
13 - pArr[nCount] = aString;
14 - ++nCount;
15 - }
16 + sal_Int32 n = p->aEnd.Row() - p->aStart.Row() + 1;
17 + for (sal_Int32 i = 0; i < n; ++i)
18 + pArr[nCount++] = String::CreateFromInt32( i+1 );
21 return aSeq;
22 Only in sc: unxlngi6.pro