Correct error in word.

--HG--
branch : develop
This commit is contained in:
dismine 2014-07-30 12:03:50 +03:00
parent 8acb3f7578
commit 8d4d5623ca
3 changed files with 4 additions and 4 deletions

View File

@ -378,7 +378,7 @@ void VDomDocument::setContent(const QString &fileName)
{ {
file.close(); file.close();
VException e(errorMsg); VException e(errorMsg);
e.AddMoreInformation(tr("Parcing error in line %1 column %2").arg(errorLine).arg(errorColumn)); e.AddMoreInformation(tr("Parsing error in line %1 column %2").arg(errorLine).arg(errorColumn));
throw e; throw e;
} }
} }

View File

@ -675,7 +675,7 @@ void VPattern::LiteParseTree()
try try
{ {
emit SetEnabledGUI(true); emit SetEnabledGUI(true);
ParceCurrentPP(); ParseCurrentPP();
//Parse(Document::LiteParse); //Parse(Document::LiteParse);
} }
catch (const VExceptionUndo &e) catch (const VExceptionUndo &e)
@ -1477,7 +1477,7 @@ void VPattern::SplinesCommonAttributes(const QDomElement &domElement, quint32 &i
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
void VPattern::ParceCurrentPP() void VPattern::ParseCurrentPP()
{ {
QDomElement domElement; QDomElement domElement;
if (GetActivDrawElement(domElement)) if (GetActivDrawElement(domElement))

View File

@ -214,7 +214,7 @@ private:
quint32 &idTool); quint32 &idTool);
template <typename T> template <typename T>
QRectF ToolBoundingRect(const QRectF &rec, const quint32 &id) const; QRectF ToolBoundingRect(const QRectF &rec, const quint32 &id) const;
void ParceCurrentPP(); void ParseCurrentPP();
}; };
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------