View | Details | Raw Unified | Return to issue 117700
Collapse All | Expand All

(-)a/cui/source/tabpages/numpages.cxx (-10 lines)
Lines 3189-3195 Link Here
3189
	const SvxNumberFormat* aNumFmtArr[SVX_MAX_NUM];
3189
	const SvxNumberFormat* aNumFmtArr[SVX_MAX_NUM];
3190
	sal_uInt16 nMask = 1;
3190
	sal_uInt16 nMask = 1;
3191
	sal_uInt16 nLvl = USHRT_MAX;
3191
	sal_uInt16 nLvl = USHRT_MAX;
3192
	long nFirstBorderText = 0;
3193
	long nFirstBorderTextRelative = -1;
3192
	long nFirstBorderTextRelative = -1;
3194
	for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++)
3193
	for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++)
3195
	{
3194
	{
Lines 3197-3212 Link Here
3197
		if(nActNumLvl & nMask)
3196
		if(nActNumLvl & nMask)
3198
		{
3197
		{
3199
			if(USHRT_MAX == nLvl)
3198
			if(USHRT_MAX == nLvl)
3200
			{
3201
				nLvl = i;
3199
				nLvl = i;
3202
                if ( !bLabelAlignmentPosAndSpaceModeActive )
3203
                {
3204
                    nFirstBorderText = nLvl > 0 ?
3205
                        aNumFmtArr[nLvl]->GetAbsLSpace() + aNumFmtArr[nLvl]->GetFirstLineOffset() -
3206
                        aNumFmtArr[nLvl - 1]->GetAbsLSpace() + aNumFmtArr[nLvl - 1]->GetFirstLineOffset():
3207
                            aNumFmtArr[nLvl]->GetAbsLSpace() + aNumFmtArr[nLvl]->GetFirstLineOffset();
3208
                }
3209
			}
3210
3200
3211
			if( i > nLvl)
3201
			if( i > nLvl)
3212
			{
3202
			{

Return to issue 117700