diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-06-29 15:54:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-06-29 21:06:36 +0200 |
commit | 9402ef2c1dbf207eaee0d4014f37f586aec2f6f8 (patch) | |
tree | 0bf29cf93496a981ead23eb6bc90137727a64a87 | |
parent | 0f7a7c8e719dab6b79e24285b907b5be17f39fc8 (diff) |
Improved loplugin:redundantcast (const-qualified typedefs): sd
Change-Id: I043576ca1fa83180b326f65b05f6bc5c21814e82
Reviewed-on: https://gerrit.libreoffice.org/56701
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | sd/source/core/stlsheet.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |