loplugin:nullptr

Change-Id: Ie50bf53a24d44a7f645f381a3d07710cc3986151
This commit is contained in:
Stephan Bergmann
2016-03-03 15:51:23 +01:00
parent ebdb1b85b7
commit 22b064a785

View File

@@ -970,7 +970,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq )
}
else if (nSlotId == SID_CLASSIFICATION_APPLY)
{
const SfxPoolItem* pItem = 0;
const SfxPoolItem* pItem = nullptr;
if (pArgs && pArgs->GetItemState(nSlotId, false, &pItem) == SfxItemState::SET)
{
const OUString& rName = static_cast<const SfxStringItem*>(pItem)->GetValue();