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
commit7492878a15774e9741ea2fefbf183fbec557c1c1 (patch)
treedda22b1a49a18f8fcbba41f7fa0b688c0a7feb36 /configmgr
parent49b06312d167ec3c210062ef704f8403abadf058 (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 95a346d720c2..f5d0bb137202 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));
}
}
}