From 4f43b1e8fa7e9aec44b4772c9af872fc3a07863e Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Fri, 14 Jul 2006 06:21:10 +0000 Subject: INTEGRATION: CWS ab28 (1.3.30); FILE MERGED 2006/07/10 13:43:15 ab 1.3.30.1: #i66948# Pass m_bIsDialogElement to AssignMacro dialog using ItemSet --- extensions/source/propctrlr/eventhandler.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'extensions/source/propctrlr/eventhandler.cxx') diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx index 2a174496db80..bcbefc8f2b84 100644 --- a/extensions/source/propctrlr/eventhandler.cxx +++ b/extensions/source/propctrlr/eventhandler.cxx @@ -4,9 +4,9 @@ * * $RCSfile: eventhandler.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2006-05-04 09:01:11 $ + * last change: $Author: obo $ $Date: 2006-07-14 07:21:10 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -136,6 +136,9 @@ #ifndef _SFXITEMSET_HXX #include #endif +#ifndef _EITEM_HXX +#include +#endif #ifndef _SVX_SVXIDS_HRC #include #endif @@ -844,6 +847,7 @@ namespace pcr // the dialog SvxAbstractDialogFactory* pFactory = SvxAbstractDialogFactory::Create(); SfxItemSet aItems( SFX_APP()->GetPool(), SID_ATTR_MACROITEM, SID_ATTR_MACROITEM ); + aItems.Put( SfxBoolItem( SID_ATTR_MACROITEM, m_bIsDialogElement ) ); if ( !pFactory ) return InteractiveSelectionResult_Cancelled; ::std::auto_ptr< VclAbstractDialog > pDialog( pFactory->CreateSvxMacroAssignDlg( -- cgit