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

Avoid unnecessary downcast

Change-Id: Ib2de94071ce0f80932fe31e40f7e3d434c0a274f
üst fa39e797
......@@ -1440,7 +1440,7 @@ uno::Any SwXTextSections::getByIndex(sal_Int32 nIndex)
}
if(nIndex >= 0 && static_cast<size_t>(nIndex) < rFmts.size())
{
SwSectionFmt* pFmt = rFmts[(sal_uInt16)nIndex];
SwSectionFmt* pFmt = rFmts[nIndex];
xRet = GetObject(*pFmt);
}
else
......
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