Kaydet (Commit) 8fd1ab72 authored tarafından Matteo Casalin's avatar Matteo Casalin

Avoid unneeded cast

Change-Id: Ic37a6a788b91a7e436943e7e832dceae2258e848
üst c1dafdf6
......@@ -183,8 +183,7 @@ sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupTyp
const sal_uInt16 nTextMarkupCount = pTextMarkupList->Count();
for ( sal_uInt16 nTextMarkupIdx = 0; nTextMarkupIdx < nTextMarkupCount; ++nTextMarkupIdx )
{
const SwWrongArea* pTextMarkup =
pTextMarkupList->GetElement( static_cast<sal_uInt16>(nTextMarkupIdx) );
const SwWrongArea* pTextMarkup = pTextMarkupList->GetElement( nTextMarkupIdx );
OSL_ENSURE( pTextMarkup,
"<SwTextMarkupHelper::getTextMarkup(..)> - missing <SwWrongArea> instance" );
if ( pTextMarkup &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment