Gui: PR6497 move return statement to new line
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user