loplugin:simplifybool
Change-Id: I2e1f288bf71cd5598bccf12322f74c096386b3c9
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user