WaE: unreachable code
Change-Id: Iee5fa84eb2335efa7d7f7cb28b8efdecf9366592
This commit is contained in:
@@ -1477,6 +1477,7 @@ sal_Bool Outliner::HasChildren( Paragraph* pParagraph ) const
|
|||||||
bool Outliner::ImplHasNumberFormat( sal_Int32 nPara ) const
|
bool Outliner::ImplHasNumberFormat( sal_Int32 nPara ) const
|
||||||
{
|
{
|
||||||
return GetNumberFormat(nPara) != 0;
|
return GetNumberFormat(nPara) != 0;
|
||||||
|
#if 0 // The below code is obviously unreachable
|
||||||
if ( GetNumberFormat(nPara) )
|
if ( GetNumberFormat(nPara) )
|
||||||
{
|
{
|
||||||
const SfxBoolItem& rBulletState = (const SfxBoolItem&) pEditEngine->GetParaAttrib( nPara, EE_PARA_BULLETSTATE );
|
const SfxBoolItem& rBulletState = (const SfxBoolItem&) pEditEngine->GetParaAttrib( nPara, EE_PARA_BULLETSTATE );
|
||||||
@@ -1484,6 +1485,7 @@ bool Outliner::ImplHasNumberFormat( sal_Int32 nPara ) const
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
return sal_False;
|
return sal_False;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
const SvxNumberFormat* Outliner::GetNumberFormat( sal_Int32 nPara ) const
|
const SvxNumberFormat* Outliner::GetNumberFormat( sal_Int32 nPara ) const
|
||||||
|
Reference in New Issue
Block a user