summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/eventhandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/eventhandler.cxx')
-rw-r--r--extensions/source/propctrlr/eventhandler.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx
index 4ec979682aea..f20107448ccb 100644
--- a/extensions/source/propctrlr/eventhandler.cxx
+++ b/extensions/source/propctrlr/eventhandler.cxx
@@ -462,8 +462,7 @@ namespace pcr
m_xComponent.set( _rxIntrospectee, UNO_QUERY_THROW );
m_bEventsMapInitialized = false;
- EventMap aEmpty;
- m_aEvents.swap( aEmpty );
+ EventMap().swap(m_aEvents);
m_bIsDialogElement = false;
m_nGridColumnType = -1;
@@ -824,8 +823,7 @@ namespace pcr
void SAL_CALL EventHandler::disposing()
{
- EventMap aEmpty;
- m_aEvents.swap( aEmpty );
+ EventMap().swap(m_aEvents);
m_xComponent.clear();
}