diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-03-14 10:37:39 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-03-14 10:37:39 +0000 |
commit | df82b5326fcc682f4a95a369e266868378775d80 (patch) | |
tree | 5c467f9e095f9af29f6c365b3521202ddba969a9 /svtools/source/uno | |
parent | a1282d4bdd67886022fd57f52308920d3f0e528c (diff) |
INTEGRATION: CWS pbrwuno (1.6.32); FILE MERGED
2005/10/25 12:46:41 fs 1.6.32.1: #i53095# added ctor with XComponentContext
Diffstat (limited to 'svtools/source/uno')
-rw-r--r-- | svtools/source/uno/genericunodialog.cxx | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/svtools/source/uno/genericunodialog.cxx b/svtools/source/uno/genericunodialog.cxx index b17b8e98f888..510eb4d01935 100644 --- a/svtools/source/uno/genericunodialog.cxx +++ b/svtools/source/uno/genericunodialog.cxx @@ -4,9 +4,9 @@ * * $RCSfile: genericunodialog.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2005-09-08 16:53:52 $ + * last change: $Author: vg $ $Date: 2006-03-14 11:37:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -97,6 +97,21 @@ OGenericUnoDialog::OGenericUnoDialog(const Reference< XMultiServiceFactory >& _r } //------------------------------------------------------------------------- +OGenericUnoDialog::OGenericUnoDialog(const Reference< XComponentContext >& _rxContext) + :OPropertyContainer(GetBroadcastHelper()) + ,m_pDialog(NULL) + ,m_bExecuting(sal_False) + ,m_bCanceled(sal_False) + ,m_bTitleAmbiguous(sal_True) + ,m_xORB( _rxContext->getServiceManager(), UNO_QUERY_THROW ) +{ + registerProperty(::rtl::OUString::createFromAscii(UNODIALOG_PROPERTY_TITLE), UNODIALOG_PROPERTY_ID_TITLE, PropertyAttribute::TRANSIENT, + &m_sTitle, getCppuType(&m_sTitle)); + registerProperty(::rtl::OUString::createFromAscii(UNODIALOG_PROPERTY_PARENT), UNODIALOG_PROPERTY_ID_PARENT, PropertyAttribute::TRANSIENT, + &m_xParent, getCppuType(&m_xParent)); +} + +//------------------------------------------------------------------------- OGenericUnoDialog::~OGenericUnoDialog() { if (m_pDialog) |