summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Loeschky <dl@openoffice.org>2001-06-14 10:15:05 +0000
committerDieter Loeschky <dl@openoffice.org>2001-06-14 10:15:05 +0000
commite930280788a957fffa463a47cdf5de715e0a3925 (patch)
treed1cc84d6d649a0bef28d931401da5bda8d7cb435
parentb54e3e298697eabbf73834737152ba9ecde1c993 (diff)
#88033# bScale: Different defaults for Impress and Draw
-rw-r--r--sd/source/ui/func/fupage.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx
index e6856a9e5f7a..ca34590ca1f8 100644
--- a/sd/source/ui/func/fupage.cxx
+++ b/sd/source/ui/func/fupage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fupage.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: thb $ $Date: 2001-06-06 15:13:55 $
+ * last change: $Author: dl $ $Date: 2001-06-14 11:15:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -246,7 +246,10 @@ FuPage::FuPage( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
// Applikation
- aNewAttr.Put(SfxBoolItem( SID_ATTR_PAGE_EXT1, TRUE ));
+ BOOL bScale = TRUE;
+ if( pDoc->GetDocumentType() == DOCUMENT_TYPE_DRAW )
+ bScale = FALSE;
+ aNewAttr.Put( SfxBoolItem( SID_ATTR_PAGE_EXT1, bScale ) );
BOOL bFullSize = ( (SdPage*)( pPage->GetMasterPage( 0 ) ) )->GetBackgroundFullSize();
aNewAttr.Put( SfxBoolItem( SID_ATTR_PAGE_EXT2, bFullSize ) );