summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-08-25 14:21:49 +0200
committersb <sb@openoffice.org>2010-08-25 14:21:49 +0200
commitfd6cf3d74c3fc5d2fd384a828adbdef4c6150401 (patch)
treecad636e702d35b93ee8815f0d561d491442d40ff /configmgr
parent0859f99410f579d393f847e0fa6552cde6d9a35f (diff)
parent27d42b733ff4809ae46b8fa7070c3a4a8a53fb2c (diff)
sb130: merged in OOO330_m5
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));
}
}
}