Mod: use empty

This commit is contained in:
berniev
2022-08-06 02:29:31 +10:00
committed by wwmayer
parent 22dcf5866f
commit 53ba98d636
134 changed files with 419 additions and 419 deletions

View File

@@ -181,7 +181,7 @@ void TaskBooleanParameters::onSelectionChanged(const Gui::SelectionChanges& msg)
Gui::Application::Instance->getViewProvider(pcBody));
if (vp)
vp->show();
if (bodies.size() == 0) {
if (bodies.empty()) {
Gui::ViewProviderDocumentObject* vp = dynamic_cast<Gui::ViewProviderDocumentObject*>(
Gui::Application::Instance->getViewProvider(pcBoolean->BaseFeature.getValue()));
if (vp)