summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/confuno.cxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2001-09-28 16:17:59 +0000
committerSascha Ballach <sab@openoffice.org>2001-09-28 16:17:59 +0000
commitc2824149c598bedc5b5bb62121009e1a8cfc5d07 (patch)
treea2c6d54537c6ac15bc97ce1cfc22bc741ecc7e56 /sc/source/ui/unoobj/confuno.cxx
parent8e5c7db29546f192f5414c7052dbbb87f7ad4455 (diff)
#92131#; set the printer on the docshell and not direct on the document
Diffstat (limited to 'sc/source/ui/unoobj/confuno.cxx')
-rw-r--r--sc/source/ui/unoobj/confuno.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/confuno.cxx b/sc/source/ui/unoobj/confuno.cxx
index 989c783f1671..4bedb6adb5c5 100644
--- a/sc/source/ui/unoobj/confuno.cxx
+++ b/sc/source/ui/unoobj/confuno.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: confuno.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: sab $ $Date: 2001-09-07 11:10:35 $
+ * last change: $Author: sab $ $Date: 2001-09-28 17:17:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -245,7 +245,7 @@ void SAL_CALL ScDocumentConfiguration::setPropertyValue(
SID_PRINTER_CHANGESTODOC, SID_PRINTER_CHANGESTODOC,
SID_SCPRINTOPTIONS, SID_SCPRINTOPTIONS,
NULL );
- pDoc->SetPrinter( SfxPrinter::Create( aStream, pSet ) );
+ pDocShell->SetPrinter( SfxPrinter::Create( aStream, pSet ) );
}
}
else if ( aPropertyName.compareToAscii( SC_UNO_APPLYDOCINF ) == 0 )