summaryrefslogtreecommitdiff
path: root/comphelper/source/property/propshlp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/property/propshlp.cxx')
-rw-r--r--comphelper/source/property/propshlp.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/comphelper/source/property/propshlp.cxx b/comphelper/source/property/propshlp.cxx
index ca1459582827..307f48a42cbc 100644
--- a/comphelper/source/property/propshlp.cxx
+++ b/comphelper/source/property/propshlp.cxx
@@ -814,7 +814,6 @@ void OPropertySetHelper::firePropertiesChangeEvent(
std::unique_ptr<sal_Int32[]> pHandles(new sal_Int32[nLen]);
IPropertyArrayHelper& rPH = getInfoHelper();
rPH.fillHandles(pHandles.get(), rPropertyNames);
- const OUString* pNames = rPropertyNames.getConstArray();
// get the count of matching properties
sal_Int32 nFireLen = 0;
@@ -836,7 +835,7 @@ void OPropertySetHelper::firePropertiesChangeEvent(
if (pHandles[i] != -1)
{
pChanges[nFirePos].Source = xSource;
- pChanges[nFirePos].PropertyName = pNames[i];
+ pChanges[nFirePos].PropertyName = rPropertyNames[i];
pChanges[nFirePos].PropertyHandle = pHandles[i];
getFastPropertyValue(aGuard, pChanges[nFirePos].OldValue, pHandles[i]);
pChanges[nFirePos].NewValue = pChanges[nFirePos].OldValue;