Gui: PR6497 move return statement to new line

This commit is contained in:
Chris Hennes
2022-03-29 12:33:50 -05:00
parent f7edc74eee
commit 5df3dbae6f
57 changed files with 352 additions and 169 deletions

View File

@@ -185,7 +185,8 @@ void FCCmdTest3::activated(int iMsg)
{
Q_UNUSED(iMsg);
App::Document *pcDoc = getDocument();
if (!pcDoc) return;
if (!pcDoc)
return;
}
@@ -215,7 +216,8 @@ void FCCmdTest4::activated(int iMsg)
{
Q_UNUSED(iMsg);
App::Document *pcDoc = getDocument();
if(!pcDoc) return;
if(!pcDoc)
return;
}
@@ -244,7 +246,8 @@ void FCCmdTest5::activated(int iMsg)
{
Q_UNUSED(iMsg);
App::Document *pcDoc = getDocument();
if(!pcDoc) return;
if(!pcDoc)
return;
}
bool FCCmdTest5::isActive(void)
@@ -273,7 +276,8 @@ void FCCmdTest6::activated(int iMsg)
{
Q_UNUSED(iMsg);
App::Document *pcDoc = getDocument();
if(!pcDoc) return;
if(!pcDoc)
return;
}
bool FCCmdTest6::isActive(void)
@@ -301,7 +305,8 @@ void CmdTestCmdFuncs::activated(int iMsg)
Q_UNUSED(iMsg);
App::Document *doc = getDocument();
auto obj = doc->addObject("App::Annotation", "obj");
if (!obj) return;
if (!obj)
return;
std::string objName = obj->getNameInDocument();