summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/outlview.cxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2002-07-26 07:32:44 +0000
committerKai Ahrens <ka@openoffice.org>2002-07-26 07:32:44 +0000
commit98978996f61ea759d897cc23c91f9795046d34cd (patch)
tree843ae451232178fd5549656f20b856bec7a831cf /sd/source/ui/view/outlview.cxx
parente461ad2ba52a9081e442632a91fa14891d09621d (diff)
#101752#: prepare formatting by screen
Diffstat (limited to 'sd/source/ui/view/outlview.cxx')
-rw-r--r--sd/source/ui/view/outlview.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index 7f2b288f1955..c8d82f29f5cf 100644
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: outlview.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: aw $ $Date: 2002-04-26 12:17:10 $
+ * last change: $Author: ka $ $Date: 2002-07-26 08:32:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -237,8 +237,7 @@ SdOutlineView::SdOutlineView(SdDrawDocShell* pDocSh, Window* pWindow,
pOutliner->OverwriteLevel0Bullet( aFormat );
}
- SfxPrinter* pPrinter = pDocSh->GetPrinter(TRUE);
- pOutliner->SetRefDevice(pPrinter);
+ pOutliner->SetRefDevice( SD_MOD()->GetRefDevice( *pDocSh ) );
ULONG nWidth = OUTLINE_PAPERWIDTH;
pOutliner->SetPaperSize(Size(nWidth, 4000000000));
}
@@ -1109,8 +1108,7 @@ BOOL SdOutlineView::PrepareClose(BOOL bUI)
pTempLiner->SetForbiddenCharsTable( pDoc->GetForbiddenCharsTable() );
// Referenz-Device setzen
- SfxPrinter* pPrinter = pDocSh->GetPrinter(TRUE);
- pTempLiner->SetRefDevice(pPrinter);
+ pTempLiner->SetRefDevice( SD_MOD()->GetRefDevice( *pDocSh ) );
SfxStyleSheetBasePool* pSPool = pDoc->GetStyleSheetPool();
pTempLiner->SetMinDepth(0);