numpages.cxx (2ee96f1c) numpages.cxx (93ed1f29)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 3233 unchanged lines hidden (view full) ---

3242 aNumFmtArr[i]->GetIndentAt() == aNumFmtArr[nLvl]->GetIndentAt();
3243 }
3244 // <--
3245 }
3246 }
3247 nMask <<= 1;
3248
3249 }
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 3233 unchanged lines hidden (view full) ---

3242 aNumFmtArr[i]->GetIndentAt() == aNumFmtArr[nLvl]->GetIndentAt();
3243 }
3244 // <--
3245 }
3246 }
3247 nMask <<= 1;
3248
3249 }
3250 if (SVX_MAX_NUM <= nLvl)
3251 {
3252 OSL_ENSURE(false, "cannot happen.");
3253 return;
3254 }
3255
3250 if(bSameDistBorderNum)
3251 {
3252 long nDistBorderNum;
3253 if(bRelative)
3254 {
3255 nDistBorderNum = (long)aNumFmtArr[nLvl]->GetAbsLSpace()+ aNumFmtArr[nLvl]->GetFirstLineOffset();
3256 if(nLvl)
3257 nDistBorderNum -= (long)aNumFmtArr[nLvl - 1]->GetAbsLSpace()+ aNumFmtArr[nLvl - 1]->GetFirstLineOffset();

--- 810 unchanged lines hidden ---
3256 if(bSameDistBorderNum)
3257 {
3258 long nDistBorderNum;
3259 if(bRelative)
3260 {
3261 nDistBorderNum = (long)aNumFmtArr[nLvl]->GetAbsLSpace()+ aNumFmtArr[nLvl]->GetFirstLineOffset();
3262 if(nLvl)
3263 nDistBorderNum -= (long)aNumFmtArr[nLvl - 1]->GetAbsLSpace()+ aNumFmtArr[nLvl - 1]->GetFirstLineOffset();

--- 810 unchanged lines hidden ---