diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-07-14 06:21:10 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-07-14 06:21:10 +0000 |
commit | 4f43b1e8fa7e9aec44b4772c9af872fc3a07863e (patch) | |
tree | 651bf4a483eeed209a618d53feac4a797109d213 /extensions/source/propctrlr/eventhandler.cxx | |
parent | 0e5d472d484e69a968b60de6bcfb66c490e9c34e (diff) |
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
Diffstat (limited to 'extensions/source/propctrlr/eventhandler.cxx')
-rw-r--r-- | extensions/source/propctrlr/eventhandler.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
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 <svtools/itemset.hxx> #endif +#ifndef _EITEM_HXX +#include <svtools/eitem.hxx> +#endif #ifndef _SVX_SVXIDS_HRC #include <svx/svxids.hrc> #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( |