sd/source/core/stlsheet.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9402ef2c1dbf207eaee0d4014f37f586aec2f6f8 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Jun 29 15:54:50 2018 +0200 Improved loplugin:redundantcast (const-qualified typedefs): sd Change-Id: I043576ca1fa83180b326f65b05f6bc5c21814e82 Reviewed-on: https://gerrit.libreoffice.org/56701 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 1b517483b7c6..9c90d3cc67d6 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -1224,7 +1224,7 @@ PropertyState SAL_CALL SdStyleSheet::getPropertyState( const OUString& PropertyN case XATTR_LINESTART: case XATTR_LINEDASH: { - const NameOrIndex* pItem = rStyleSet.GetItem<NameOrIndex>(static_cast<sal_uInt16>(pEntry->nWID)); + const NameOrIndex* pItem = rStyleSet.GetItem<NameOrIndex>(pEntry->nWID); if( ( pItem == nullptr ) || pItem->GetName().isEmpty() ) eState = PropertyState_DEFAULT_VALUE; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits