summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-07-01 11:17:32 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-07-01 12:44:05 +0200
commit611b419562dbde945d532ce27d7233be5d55fda1 (patch)
treedb74d5685054dfea70b87f2eafafce97f3551cb0 /sd
parent691f0b3c387033e34bba4b6cb65f2ad1250ef818 (diff)
coverity#704299 Dead code
Change-Id: I41d4c99216cc19302f2d65db1471cb49016a784a
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/outlview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index 712dbe293a78..e6fe17e579e9 100644
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -1033,7 +1033,7 @@ SdrTextObj* OutlineView::CreateOutlineTextObject(SdPage* pPage)
// we already have a layout with a text but the text
// object was deleted, create a new one
pPage->InsertAutoLayoutShape( 0,
- (eNewLayout == AUTOLAYOUT_TITLE) ? PRESOBJ_TEXT : PRESOBJ_OUTLINE,
+ PRESOBJ_OUTLINE,
false, pPage->GetLayoutRect(), true );
}