summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2009-11-30 15:58:46 +0000
committerPhilipp Lohmann <pl@openoffice.org>2009-11-30 15:58:46 +0000
commite013e9a5c7476d543d213ee3267c7512446998d5 (patch)
treea2b6797940467d3a743c05ce8fa57142f68bd6a8
parent12c7dc97e4470d70a9df30429c3dc51343682c07 (diff)
#i107322# fix an access to dead memory
-rw-r--r--svx/source/accessibility/AccessibleStaticTextBase.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/accessibility/AccessibleStaticTextBase.cxx b/svx/source/accessibility/AccessibleStaticTextBase.cxx
index c5681a4f0e..c0227e63cb 100644
--- a/svx/source/accessibility/AccessibleStaticTextBase.cxx
+++ b/svx/source/accessibility/AccessibleStaticTextBase.cxx
@@ -1016,9 +1016,9 @@ namespace accessibility
const beans::PropertyValue* pItr = aIntersectionSeq.getConstArray();
const beans::PropertyValue* pEnd = pItr + aIntersectionSeq.getLength();
const beans::PropertyValue* pFind = ::std::find_if( pItr, pEnd, ::std::bind2nd( PropertyValueEqualFunctor(), boost::cref( pDefAttr[i] ) ) );
- if ( pFind == pEnd && pFind->Handle != 0)
+ if ( pFind == pEnd && pDefAttr[i].Handle != 0)
{
- aDiffVec.push_back( *pFind );
+ aDiffVec.push_back( pDefAttr[i] );
}
}