diff options
author | Carsten Driesner <cd@openoffice.org> | 2010-07-27 18:11:00 +0200 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2010-07-27 18:11:00 +0200 |
commit | df6cd526ceedb45436c0393696ec39a0a59e0fc6 (patch) | |
tree | 27c2c8c99f9f8a00e66fe1569f65c90d0c99e76b /configmgr | |
parent | ac74bf3e16242e9de3824f03f65df34fdbc95bcd (diff) |
fwk151: Fixed problems that configuration changes notifications were not correctly sent/processed
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/rootaccess.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configmgr/source/rootaccess.cxx b/configmgr/source/rootaccess.cxx index 95a346d720..f5d0bb1372 100644 --- a/configmgr/source/rootaccess.cxx +++ b/configmgr/source/rootaccess.cxx @@ -96,11 +96,12 @@ void RootAccess::initBroadcaster( for (ChangesListeners::iterator i(changesListeners_.begin()); i != changesListeners_.end(); ++i) { + cppu::OWeakObject* pSource = static_cast< cppu::OWeakObject * >(this); + css::uno::Reference< css::uno::XInterface > xBase( pSource, css::uno::UNO_QUERY ); broadcaster->addChangesNotification( *i, css::util::ChangesEvent( - static_cast< cppu::OWeakObject * >(this), - css::uno::makeAny(pathRepresentation_), set)); + pSource, makeAny( xBase ), set)); } } } |