summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/app/AppControllerGen.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-02-12 12:24:53 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-02-12 12:24:53 +0000
commit17ab9ffbbcf4b6532951dc5685608ee8d10c1939 (patch)
tree9cc41a5c070b42aec3dce777a542711c4e4a7bb6 /dbaccess/source/ui/app/AppControllerGen.cxx
parent53876b3c1355e4732e0e40e4ce9067c09e92114d (diff)
INTEGRATION: CWS dba24g_SRC680 (1.28.64.2.6); FILE MERGED
2008/01/28 09:35:14 oj 1.28.64.2.6.1: #i83805# change order of calls
Diffstat (limited to 'dbaccess/source/ui/app/AppControllerGen.cxx')
-rw-r--r--dbaccess/source/ui/app/AppControllerGen.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/app/AppControllerGen.cxx b/dbaccess/source/ui/app/AppControllerGen.cxx
index 57f6d7b0d..425fce16a 100644
--- a/dbaccess/source/ui/app/AppControllerGen.cxx
+++ b/dbaccess/source/ui/app/AppControllerGen.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: AppControllerGen.cxx,v $
*
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
- * last change: $Author: rt $ $Date: 2008-01-30 08:41:45 $
+ * last change: $Author: vg $ $Date: 2008-02-12 13:24:53 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -653,11 +653,11 @@ void OApplicationController::addDocumentListener(const Reference< XComponent >&
{
try
{
+ m_aDocuments[_xDocument] = _xDefintion;
+ _xDocument->addEventListener(static_cast<XFrameActionListener*>(this));
Reference<XPropertySet> xProp(_xDefintion,UNO_QUERY_THROW);
if ( xProp->getPropertySetInfo()->hasPropertyByName(PROPERTY_NAME) )
xProp->addPropertyChangeListener(PROPERTY_NAME,static_cast<XPropertyChangeListener*>(this));
- m_aDocuments[_xDocument] = _xDefintion;
- _xDocument->addEventListener(static_cast<XFrameActionListener*>(this));
}
catch(Exception&)
{