summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/outliner/outliner.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index 0d3e5ac5e737..137267a00850 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -1477,6 +1477,7 @@ sal_Bool Outliner::HasChildren( Paragraph* pParagraph ) const
bool Outliner::ImplHasNumberFormat( sal_Int32 nPara ) const
{
return GetNumberFormat(nPara) != 0;
+#if 0 // The below code is obviously unreachable
if ( GetNumberFormat(nPara) )
{
const SfxBoolItem& rBulletState = (const SfxBoolItem&) pEditEngine->GetParaAttrib( nPara, EE_PARA_BULLETSTATE );
@@ -1484,6 +1485,7 @@ bool Outliner::ImplHasNumberFormat( sal_Int32 nPara ) const
}
else
return sal_False;
+#endif
}
const SvxNumberFormat* Outliner::GetNumberFormat( sal_Int32 nPara ) const