summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docredln.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/docredln.cxx')
-rw-r--r--sw/source/core/doc/docredln.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index 32696630e591..b8bb35056de1 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -658,7 +658,7 @@ SwRedlineTable::~SwRedlineTable()
SwRedlineTable::size_type SwRedlineTable::GetPos(const SwRangeRedline* p) const
{
- vector_type::const_iterator it = maVector.find(const_cast<SwRangeRedline*>(p));
+ vector_type::const_iterator it = maVector.find(p);
if( it == maVector.end() )
return npos;
return it - maVector.begin();