From 1de841614f42c2e1f727da840a9ce86d423c9b62 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 10 Jun 2003 12:57:32 +0000 Subject: [PATCH] INTEGRATION: CWS draw16 (1.24.54); FILE MERGED 2003/06/05 09:31:53 cl 1.24.54.1: #110084# call OnDocumentPrinterChange after ole insert --- sd/source/ui/func/fuinsert.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sd/source/ui/func/fuinsert.cxx b/sd/source/ui/func/fuinsert.cxx index 311be704e8e6..d62faf797b7b 100644 --- a/sd/source/ui/func/fuinsert.cxx +++ b/sd/source/ui/func/fuinsert.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fuinsert.cxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: hr $ $Date: 2003-03-27 10:57:50 $ + * last change: $Author: vg $ $Date: 2003-06-10 13:57:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -78,6 +78,9 @@ #ifndef _UNOTOOLS_UCBSTREAMHELPER_HXX #include #endif +#ifndef _SFX_PRINTER_HXX +#include +#endif #ifndef _SO_CLSIDS_HXX #include #endif @@ -578,6 +581,9 @@ FuInsertOLE::FuInsertOLE(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView, if (aIPObj.Is()) { + if( SVOBJ_MISCSTATUS_RESIZEONPRINTERCHANGE & aIPObj->GetMiscStatus() ) + aIPObj->OnDocumentPrinterChanged( pDocSh->GetPrinter(FALSE) ); + BOOL bInsertNewObject = FALSE; Size aSize; String aName;