num.cxx (efeef26f) num.cxx (205b6fc7)
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

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

307 }
308 // <--
309
310 }
311 }
312 nMask <<= 1;
313
314 }
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

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

307 }
308 // <--
309
310 }
311 }
312 nMask <<= 1;
313
314 }
315 if (MAXLEVEL <= nLvl)
316 {
317 OSL_ENSURE(false, "cannot happen.");
318 return;
319 }
315 if(bSameDistBorderNum)
316 {
317 long nDistBorderNum;
318 if(bRelative)
319 {
320 nDistBorderNum = (long)aNumFmtArr[nLvl]->GetAbsLSpace()+ aNumFmtArr[nLvl]->GetFirstLineOffset();
321 if(nLvl)
322 nDistBorderNum -= (long)aNumFmtArr[nLvl - 1]->GetAbsLSpace()+ aNumFmtArr[nLvl - 1]->GetFirstLineOffset();

--- 850 unchanged lines hidden ---
320 if(bSameDistBorderNum)
321 {
322 long nDistBorderNum;
323 if(bRelative)
324 {
325 nDistBorderNum = (long)aNumFmtArr[nLvl]->GetAbsLSpace()+ aNumFmtArr[nLvl]->GetFirstLineOffset();
326 if(nLvl)
327 nDistBorderNum -= (long)aNumFmtArr[nLvl - 1]->GetAbsLSpace()+ aNumFmtArr[nLvl - 1]->GetFirstLineOffset();

--- 850 unchanged lines hidden ---