summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection/criface.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/corereflection/criface.cxx')
-rw-r--r--stoc/source/corereflection/criface.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/corereflection/criface.cxx b/stoc/source/corereflection/criface.cxx
index 7b35020fb67f..490c5aaa7bab 100644
--- a/stoc/source/corereflection/criface.cxx
+++ b/stoc/source/corereflection/criface.cxx
@@ -708,8 +708,8 @@ sal_Bool InterfaceIdlClassImpl::isAssignableFrom( const Reference< XIdlClass > &
return true;
else
{
- const Sequence< Reference< XIdlClass > > & rSeq = xType->getSuperclasses();
- if (std::any_of(rSeq.begin(), rSeq.end(),
+ const Sequence< Reference< XIdlClass > > aSeq = xType->getSuperclasses();
+ if (std::any_of(aSeq.begin(), aSeq.end(),
[this](const Reference<XIdlClass>& rType){ return isAssignableFrom(rType); }))
return true;
}