TD: PR6497 move return statement to new line

This commit is contained in:
Chris Hennes
2022-03-29 13:26:01 -05:00
parent cb21ac7bf8
commit c44ccc0ff2
10 changed files with 34 additions and 17 deletions

View File

@@ -807,7 +807,8 @@ bool TaskLeaderLine::accept()
}
Gui::Document* doc = Gui::Application::Instance->getDocument(m_basePage->getDocument());
if (!doc) return false;
if (!doc)
return false;
if (!getCreateMode()) {
// removeTracker();
@@ -838,7 +839,8 @@ bool TaskLeaderLine::reject()
}
Gui::Document* doc = Gui::Application::Instance->getDocument(m_basePage->getDocument());
if (!doc) return false;
if (!doc)
return false;
if (getCreateMode() &&
(m_lineFeat != nullptr) ) {