summaryrefslogtreecommitdiff
path: root/editeng/source/outliner
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-05 12:51:41 +0200
committerNoel Grandin <noel@peralex.com>2015-03-19 10:45:01 +0200
commit94d3d0a27763a34c3ee72f341264fbe4fc99574b (patch)
tree62ff624e4d40f8efaea8ed836c692300d13a6676 /editeng/source/outliner
parentd07bf4aad4d2edda19d9806afd6d694b873aff41 (diff)
loplugin:constantfunction: editeng
Change-Id: I112bb65a3f470b3f179efd1cf9fa979175d5d350
Diffstat (limited to 'editeng/source/outliner')
-rw-r--r--editeng/source/outliner/outliner.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index fe6e6ca84bde..83a0f7ad5086 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -223,7 +223,7 @@ void Outliner::Init( sal_uInt16 nMode )
const bool bWasUndoEnabled(IsUndoEnabled());
EnableUndo(false);
- ImplInitDepth( 0, GetMinDepth(), false );
+ ImplInitDepth( 0, -1, false );
GetUndoManager().Clear();
EnableUndo(bWasUndoEnabled);
}