diff options
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/uno/unotext2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/uno/unotext2.cxx b/editeng/source/uno/unotext2.cxx index 275319f3dfe7..66f094a00e6a 100644 --- a/editeng/source/uno/unotext2.cxx +++ b/editeng/source/uno/unotext2.cxx @@ -242,13 +242,13 @@ void SAL_CALL SvxUnoTextContent::dispose() void SAL_CALL SvxUnoTextContent::addEventListener( const uno::Reference< lang::XEventListener >& xListener ) { std::unique_lock aGuard(maDisposeContainerMutex); - maDisposeListeners.addInterface(xListener); + maDisposeListeners.addInterface(aGuard, xListener); } void SAL_CALL SvxUnoTextContent::removeEventListener( const uno::Reference< lang::XEventListener >& aListener ) { std::unique_lock aGuard(maDisposeContainerMutex); - maDisposeListeners.removeInterface(aListener); + maDisposeListeners.removeInterface(aGuard, aListener); } // XEnumerationAccess |