diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-12-26 10:32:12 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-01-03 15:25:19 +0100 |
commit | fa9f3c7bb2c8c1df5d5b1dcb0d92f537753c72db (patch) | |
tree | db0036463d92f2e31e5a3b9d35bd3abfe3e62ebd /sw | |
parent | fa39e7970496537258eaad1f5351db2d675225b6 (diff) |
Avoid unnecessary downcast
Change-Id: Ib2de94071ce0f80932fe31e40f7e3d434c0a274f
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unocoll.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unocoll.cxx b/sw/source/core/unocore/unocoll.cxx index c200afed30da..72b93371d4e7 100644 --- a/sw/source/core/unocore/unocoll.cxx +++ b/sw/source/core/unocore/unocoll.cxx @@ -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 |