summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-01-07 18:50:32 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-01-07 21:04:36 +0100
commitdd9972f5f37063f5fe3eb5e011d2adc73f44d305 (patch)
tree82f52bc7a4d0cbfc796859c0b2d8cf278494eaa5 /sw/source/core
parent8c54f9ab597496f1af3d05e83b7be6f5a62c50a0 (diff)
Remove unnecessary downcast
Change-Id: I7511862ddf6ed672ba4f09ef6729fb1fa7c1d355
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/crsr/findtxt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx
index 0cd49a122c68..e73e4a80a9ec 100644
--- a/sw/source/core/crsr/findtxt.cxx
+++ b/sw/source/core/crsr/findtxt.cxx
@@ -505,8 +505,8 @@ bool SwPaM::DoSearch( const SearchOptions& rSearchOpt, utl::TextSearch& rSTxt,
}
else
{
- nStart = (sal_uInt16)nProxyStart;
- nEnd = (sal_uInt16)nProxyEnd;
+ nStart = nProxyStart;
+ nEnd = nProxyEnd;
}
nStart = nEnd;
}