22#include <com/sun/star/lang/IllegalArgumentException.hpp>
30 using ::com::sun::star::uno::Reference;
31 using ::com::sun::star::ui::dialogs::XExecutableDialog;
32 using ::com::sun::star::lang::IllegalArgumentException;
33 using ::com::sun::star::uno::Exception;
38 class DialogExecutor_Impl
43 explicit DialogExecutor_Impl(
const Reference< XExecutableDialog >& _rxDialog )
54 ~DialogExecutor_Impl()
81 if ( !_rxDialog.is() )
82 throw IllegalArgumentException();
84 DialogExecutor_Impl* pExecutor =
new DialogExecutor_Impl( _rxDialog );
Reference< XExecutableDialog > m_xDialog
static ImplSVEvent * PostUserEvent(const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false)
static void executeModalDialogAsync(const css::uno::Reference< css::ui::dialogs::XExecutableDialog > &_rxDialog)
executes the given dialog asynchronously, but still modal
#define DBG_UNHANDLED_EXCEPTION(...)
DECL_LINK(CheckNameHdl, SvxNameDialog &, bool)
#define LINK(Instance, Class, Member)
IMPL_LINK_NOARG(OApplicationController, OnClipboardChanged, TransferableDataHelper *, void)