summaryrefslogtreecommitdiff
path: root/editeng/source/outliner/outliner.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/outliner/outliner.cxx')
-rw-r--r--editeng/source/outliner/outliner.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index b6d5ac108ecc..f520239bf148 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -1368,15 +1368,6 @@ bool Outliner::HasChildren( Paragraph const * pParagraph ) const
bool Outliner::ImplHasNumberFormat( sal_Int32 nPara ) const
{
return GetNumberFormat(nPara) != nullptr;
-#if 0 // The below code is obviously unreachable
- if ( GetNumberFormat(nPara) )
- {
- const SfxBoolItem& rBulletState = (const SfxBoolItem&) pEditEngine->GetParaAttrib( nPara, EE_PARA_BULLETSTATE );
- return rBulletState.GetValue();
- }
- else
- return false;
-#endif
}
const SvxNumberFormat* Outliner::GetNumberFormat( sal_Int32 nPara ) const