Refactoring. Remove unused method.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-08-02 14:11:03 +03:00
parent acc340bff1
commit 7734b7a59d
2 changed files with 0 additions and 15 deletions

View File

@ -140,17 +140,3 @@ void VToolCut::RemoveReferens()
doc->DecrementReferens(curve->getIdTool()); doc->DecrementReferens(curve->getIdTool());
} }
//---------------------------------------------------------------------------------------------------------------------
// cppcheck-suppress unusedFunction
void VToolCut::FullUpdateCurveFromFile(const QString &attrCurve)
{
Q_ASSERT_X(not attrCurve.isEmpty(), Q_FUNC_INFO, "attribute name is empty");
QDomElement domElement = doc->elementById(id);
if (domElement.isElement())
{
formula = domElement.attribute(AttrLength, "");
curveCutId = domElement.attribute(attrCurve, "").toUInt();
}
}

View File

@ -75,7 +75,6 @@ protected:
void RefreshGeometry(); void RefreshGeometry();
virtual void RemoveReferens() Q_DECL_OVERRIDE; virtual void RemoveReferens() Q_DECL_OVERRIDE;
void FullUpdateCurveFromFile(const QString &attrCurve);
template <typename T> template <typename T>
void ShowToolVisualization(bool show); void ShowToolVisualization(bool show);