summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-08-12 14:36:10 +0200
committerJan Holesovsky <kendy@collabora.com>2015-08-12 17:17:25 +0200
commit7f34c3b8932f51fdbb552c43aa84fe9f1a55c826 (patch)
treea44181ed08385eb83c3d05716bc922ca739d7a03
parent89bd30cf426ca54fc9e46295a60551b5bb2d3232 (diff)
tdf#80866: Revert "bnc#835985: When printing ... 'Order' did not count."
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx
index 05b164a72ec7..734c61a636f1 100644
--- a/sd/source/ui/view/DocumentRenderer.cxx
+++ b/sd/source/ui/view/DocumentRenderer.cxx
@@ -1495,14 +1495,14 @@ private:
AutoLayout eLayout = AUTOLAYOUT_HANDOUT6;
switch (nSlidesPerHandout)
{
+ case 0: eLayout = AUTOLAYOUT_NONE; break; // AUTOLAYOUT_HANDOUT1; break;
case 1: eLayout = AUTOLAYOUT_HANDOUT1; break;
case 2: eLayout = AUTOLAYOUT_HANDOUT2; break;
case 3: eLayout = AUTOLAYOUT_HANDOUT3; break;
case 4: eLayout = AUTOLAYOUT_HANDOUT4; break;
- case 9: eLayout = AUTOLAYOUT_HANDOUT9; break;
default:
- case 0:
- case 6: break; // use the default
+ case 6: eLayout = AUTOLAYOUT_HANDOUT6; break;
+ case 9: eLayout = AUTOLAYOUT_HANDOUT9; break;
}
if( !mrBase.GetDocument() )