outleeng.cxx (6cb7d399) | outleeng.cxx (af89ca6e) |
---|---|
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 --- 62 unchanged lines hidden (view full) --- 71} 72 73 74Rectangle OutlinerEditEng::GetBulletArea( sal_uInt16 nPara ) 75{ 76 Rectangle aBulletArea = Rectangle( Point(), Point() ); 77 if ( nPara < pOwner->pParaList->GetParagraphCount() ) 78 { | 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 --- 62 unchanged lines hidden (view full) --- 71} 72 73 74Rectangle OutlinerEditEng::GetBulletArea( sal_uInt16 nPara ) 75{ 76 Rectangle aBulletArea = Rectangle( Point(), Point() ); 77 if ( nPara < pOwner->pParaList->GetParagraphCount() ) 78 { |
79 if ( pOwner->ImplHasBullet( nPara ) ) | 79 if ( pOwner->ImplHasNumberFormat( nPara ) ) |
80 aBulletArea = pOwner->ImpCalcBulletArea( nPara, sal_False, sal_False ); 81 } 82 return aBulletArea; 83} 84 85void OutlinerEditEng::ParagraphInserted( sal_uInt16 nNewParagraph ) 86{ 87 pOwner->ParagraphInserted( nNewParagraph ); --- 153 unchanged lines hidden --- | 80 aBulletArea = pOwner->ImpCalcBulletArea( nPara, sal_False, sal_False ); 81 } 82 return aBulletArea; 83} 84 85void OutlinerEditEng::ParagraphInserted( sal_uInt16 nNewParagraph ) 86{ 87 pOwner->ParagraphInserted( nNewParagraph ); --- 153 unchanged lines hidden --- |