diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-03-23 10:49:11 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-03-23 10:49:11 +0000 |
commit | a1cf35ed5eb778e883b277dffadbf29818a86e2c (patch) | |
tree | 3d9d3eec58b18ad8129f87d8a135fad5c79a7a0f /svx | |
parent | c9fa37a12e38cf329e1124888b399c2e9552459f (diff) |
INTEGRATION: CWS eforms4 (1.2.22); FILE MERGED
2004/12/06 06:36:13 pb 1.2.22.1: fix: #i36562# XFrameActionListener added
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/datalistener.cxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/svx/source/form/datalistener.cxx b/svx/source/form/datalistener.cxx index 810ff62445e3..981544169124 100644 --- a/svx/source/form/datalistener.cxx +++ b/svx/source/form/datalistener.cxx @@ -2,9 +2,9 @@ * * $RCSfile: datalistener.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: obo $ $Date: 2004-11-16 11:21:38 $ + * last change: $Author: vg $ $Date: 2005-03-23 11:49:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -63,6 +63,7 @@ #include "datanavi.hxx" using namespace ::com::sun::star::container; +using namespace ::com::sun::star::frame; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::xml::dom::events; @@ -100,6 +101,16 @@ namespace svxform m_pNaviWin->NotifyChanges(); } + // XFrameActionListener + void SAL_CALL DataListener::frameAction( const FrameActionEvent& rActionEvt ) throw (RuntimeException) + { + if ( FrameAction_COMPONENT_ATTACHED == rActionEvt.Action || + FrameAction_COMPONENT_REATTACHED == rActionEvt.Action ) + { + m_pNaviWin->NotifyChanges( FrameAction_COMPONENT_REATTACHED == rActionEvt.Action ); + } + } + // xml::dom::events::XEventListener void SAL_CALL DataListener::handleEvent( const Reference< XEvent >& evt ) throw (RuntimeException) { |