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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user