diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 09:14:59 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 09:14:59 +0000 |
commit | c371091e567b9d26694759b75cce3823245bc780 (patch) | |
tree | a2dd8253d7221104d0640ec91abf46404e30dc25 /sd | |
parent | 36719ce6f1b57ee7718e99db5657a82035a289d7 (diff) |
INTEGRATION: CWS impress110 (1.37.12); FILE MERGED
2006/10/26 09:31:34 af 1.37.12.1: #i70805# Border of Draw pages initially set to 10mm.
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/drawdoc2.cxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx index e3685d463161..b0e3062d29b3 100644 --- a/sd/source/core/drawdoc2.cxx +++ b/sd/source/core/drawdoc2.cxx @@ -4,9 +4,9 @@ * * $RCSfile: drawdoc2.cxx,v $ * - * $Revision: 1.37 $ + * $Revision: 1.38 $ * - * last change: $Author: obo $ $Date: 2006-10-13 11:01:37 $ + * last change: $Author: vg $ $Date: 2006-11-01 10:14:59 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -614,7 +614,12 @@ void SdDrawDocument::CreateFirstPages( SdDrawDocument* pRefDocument /* = 0 */ ) } else { - pPage->SetBorder(0, 0, 0, 0); + // The printer is not available. Use a border of 10mm + // on each side instead. + // This has to be kept synchronized with the border + // width set in the + // SvxPageDescPage::PaperSizeSelect_Impl callback. + pPage->SetBorder(1000, 1000, 1000, 1000); } } else |