Refactoring. Improve access to static member.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-03-31 17:25:14 +03:00
parent b316133dad
commit 660406ab35

View File

@ -158,7 +158,7 @@ VToolLine * VToolLine::Create(const quint32 &_id, const quint32 &firstPoint, con
} }
else else
{ {
data->UpdateId(id); VContainer::UpdateId(id);
data->AddLine(firstPoint, secondPoint); data->AddLine(firstPoint, secondPoint);
if (parse != Document::FullParse) if (parse != Document::FullParse)
{ {