summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/PrintManager.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-06-06 11:09:18 +0000
committerRüdiger Timm <rt@openoffice.org>2008-06-06 11:09:18 +0000
commit1dd1ad535716050a0e2c7f0b382d361943c8c6a7 (patch)
tree8fd4e9f4e43458f50f7dea1f89bf83047aba94fe /sd/source/ui/view/PrintManager.cxx
parentf8eb7b2abd87fd087302f6ffbc09702a75a276b1 (diff)
INTEGRATION: CWS impressodf12 (1.20.8); FILE MERGED
2008/05/26 12:25:03 cl 1.20.8.4: #i35937# code cleanup after bullet rework 2008/04/25 08:50:03 cl 1.20.8.3: RESYNC: (1.20-1.22); FILE MERGED 2008/04/13 19:05:20 cl 1.20.8.2: #i35937# allow paragraph depth of -1 to switch of numbering 2008/04/10 17:07:47 cl 1.20.8.1: #i35937# allow paragraph depth of -1 to switch of numbering
Diffstat (limited to 'sd/source/ui/view/PrintManager.cxx')
-rw-r--r--sd/source/ui/view/PrintManager.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sd/source/ui/view/PrintManager.cxx b/sd/source/ui/view/PrintManager.cxx
index 03afb79fe2d7..a89663a25059 100644
--- a/sd/source/ui/view/PrintManager.cxx
+++ b/sd/source/ui/view/PrintManager.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: PrintManager.cxx,v $
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
* This file is part of OpenOffice.org.
*
@@ -906,9 +906,6 @@ void PrintManager::PrintOutline (
USHORT nOutlMode = pOutliner->GetMode();
BOOL bOldUpdateMode = pOutliner->GetUpdateMode();
- if (rInfo.mrViewShell.ISA(OutlineViewShell))
- pOutliner->SetMinDepth(0);
-
Size aPaperSize = pOutliner->GetPaperSize();
pOutliner->SetPaperSize(aOutRect.GetSize());
pOutliner->SetUpdateMode(TRUE);
@@ -990,8 +987,8 @@ void PrintManager::PrintOutline (
for (ULONG nPara = nParaCount1; nPara < nParaCount2; nPara++)
{
Paragraph* pP = pOutliner->GetParagraph(nPara);
- if(pP && pOutliner->GetDepth( (USHORT) nPara ) !=1 )
- pOutliner->SetDepth(pP, 1);
+ if(pP && pOutliner->GetDepth( (USHORT) nPara ) > 0 )
+ pOutliner->SetDepth(pP, 0);
}
}