summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2010-07-27 18:11:00 +0200
committerCarsten Driesner <cd@openoffice.org>2010-07-27 18:11:00 +0200
commitdf6cd526ceedb45436c0393696ec39a0a59e0fc6 (patch)
tree27c2c8c99f9f8a00e66fe1569f65c90d0c99e76b /configmgr
parentac74bf3e16242e9de3824f03f65df34fdbc95bcd (diff)
fwk151: Fixed problems that configuration changes notifications were not correctly sent/processed
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/rootaccess.cxx5
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));
}
}
}