summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-15 10:56:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-15 11:01:16 +0100
commitdcc4b29d9b87a56a240f12342f0fef5c1b455100 (patch)
tree7e6eed580828e9d1d4ef230e83e1a60120816e08 /sd
parent23ad336bfe61316b08f85e827b98fc593ac6908a (diff)
coverity#1361590 Uninitialized scalar field
Change-Id: Idb2ab797294f676e4e734cd272244928adf3f221
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/outlview.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index e00721ae1c07..94fac3d302a3 100644
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -100,6 +100,11 @@ OutlineView::OutlineView( DrawDocShell& rDocSh, vcl::Window* pWindow, OutlineVie
mnPaperWidth = (mrOutlineViewShell.GetActiveWindow()->GetViewSize().Width() - 4000);
mrOutliner.SetPaperSize(Size(mnPaperWidth, 400000000));
}
+ else
+ {
+ // width: DIN A4, two margins at 1 cm each
+ mnPaperWidth = 19000;
+ }
// insert View into Outliner
for (OutlinerView* & rp : mpOutlinerView)