loplugin:simplifybool

Change-Id: I2e1f288bf71cd5598bccf12322f74c096386b3c9
This commit is contained in:
Noel Grandin
2016-08-02 08:59:19 +02:00
parent d961af95cd
commit cc252e1641

View File

@@ -394,7 +394,7 @@ void SdGenericDrawPage::UpdateModel()
{
mpModel = nullptr;
}
mbIsImpressDocument = mpModel ? mpModel->IsImpressDocument() : false;
mbIsImpressDocument = mpModel && mpModel->IsImpressDocument();
}
// this is called whenever a SdrObject must be created for a empty api shape wrapper