summaryrefslogtreecommitdiffstats
path: root/cppuhelper/source/propshlp.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-09-17 07:47:49 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-09-17 07:47:49 +0200
commit13ff8d534e62802a315e21200732b74d726be3ca (patch)
tree3611ad70b4006ac48c20eb856736370df99a403d /cppuhelper/source/propshlp.cxx
parentdba34a: #i111148# do not call setPropertyValue from within setFastPropertyVal... (diff)
downloadcore-13ff8d534e62802a315e21200732b74d726be3ca.tar.gz
core-13ff8d534e62802a315e21200732b74d726be3ca.zip
dba34a: impl_fireAll: oops ... don't forget to reset handles/newValues/oldValues ...
Diffstat (limited to 'cppuhelper/source/propshlp.cxx')
-rw-r--r--cppuhelper/source/propshlp.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index 84638494f2a7..e43f93272e16 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -605,6 +605,10 @@ void OPropertySetHelper::impl_fireAll( sal_Int32* i_handles, const Any* i_newVal
::std::copy( m_pReserved->m_oldValues.begin(), m_pReserved->m_oldValues.end(), allOldValues.begin() );
::std::copy( i_oldValues, i_oldValues + i_count, allOldValues.begin() + additionalEvents );
+ m_pReserved->m_handles.clear();
+ m_pReserved->m_newValues.clear();
+ m_pReserved->m_oldValues.clear();
+
aGuard.clear();
fire( &allHandles[0], &allNewValues[0], &allOldValues[0], additionalEvents + i_count, sal_False );
}