1 |
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx |
2 |
index 0628f1c..2e930bf 100644 |
3 |
--- a/sd/source/ui/view/DocumentRenderer.cxx |
4 |
+++ b/sd/source/ui/view/DocumentRenderer.cxx |
5 |
@@ -1329,7 +1329,7 @@ public: |
6 |
::boost::dynamic_pointer_cast<DrawViewShell>(mrBase.GetMainViewShell())); |
7 |
|
8 |
if ( ! mpPrintView) |
9 |
- mpPrintView.reset(new DrawView(mrBase.GetDocShell(), &rPrinter, pDrawViewShell.get())); |
10 |
+ mpPrintView.reset(new DrawView(mrBase.GetDocShell(), &rPrinter, NULL)); |
11 |
|
12 |
if (nIndex<0 || sal::static_int_cast<sal_uInt32>(nIndex)>=maPrinterPages.size()) |
13 |
return; |
14 |
|