summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-07-05 07:58:43 +0000
committerRüdiger Timm <rt@openoffice.org>2007-07-05 07:58:43 +0000
commit21f16666753d53f10c7db44146855bb0bf5ac54d (patch)
tree1275d47ee73ad99489b7864c2b1c9d36c97fe7e1 /framework/source
parent3c9036243596bb1312ec3b2a33ad2ad895c8f7b9 (diff)
INTEGRATION: CWS aquavcl01 (1.101.18); FILE MERGED
2007/06/04 11:20:25 pl 1.101.18.1: #i78078# add: window command dispatcher
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/services/frame.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index ca811eba62a8..90af9ab757d4 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: frame.cxx,v $
*
- * $Revision: 1.101 $
+ * $Revision: 1.102 $
*
- * last change: $Author: ihi $ $Date: 2007-04-16 16:43:56 $
+ * last change: $Author: rt $ $Date: 2007-07-05 08:58:43 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -56,6 +56,10 @@
#include <dispatch/closedispatcher.hxx>
#endif
+#ifndef __FRAMEWORK_DISPATCH_WINDOWCOMMANDDISPATCH_HXX_
+#include <dispatch/windowcommanddispatch.hxx>
+#endif
+
#ifndef __FRAMEWORK_LOADENV_LOADENV_HXX_
#include <loadenv/loadenv.hxx>
#endif
@@ -738,6 +742,9 @@ void SAL_CALL Frame::initialize( const css::uno::Reference< css::awt::XWindow >&
implts_startWindowListening();
impl_enablePropertySet();
+
+ // create WindowCommandDispatch; it is supposed to release itself at frame destruction
+ (void)new WindowCommandDispatch(m_xSMGR, this);
}
/*-****************************************************************************************************//**