summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/uno/unotext2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/uno/unotext2.cxx b/editeng/source/uno/unotext2.cxx
index cf3564d7cbef..857745bdce56 100644
--- a/editeng/source/uno/unotext2.cxx
+++ b/editeng/source/uno/unotext2.cxx
@@ -441,7 +441,7 @@ uno::Any SAL_CALL SvxUnoTextRangeEnumeration::nextElement()
if( maPortions.empty() || mnNextPortion >= maPortions.size() )
throw container::NoSuchElementException();
- uno::Reference< text::XTextRange > xRange = ( maPortions.at(mnNextPortion) ).get();
+ uno::Reference< text::XTextRange > xRange = maPortions.at(mnNextPortion).get();
mnNextPortion++;
return uno::makeAny( xRange );
}