Commit 58d5134e authored by Ivan.Shulga's avatar Ivan.Shulga Committed by Alexander Trofimov

string error

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58051 954022d7-b5bf-4e40-9824-e11837661b57
parent b1790c04
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.1.1, 2014-08-26T19:43:02. -->
<!-- Written by QtCreator 3.1.1, 2014-08-27T19:09:21. -->
<qtcreator>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>
......
......@@ -347,7 +347,10 @@ namespace SimpleTypes
virtual int FromString(CString &sValue)
{
if ( 6 <= sValue.GetLength() )
Parse( sValue.Mid( 0, 6 ) );
{
CString midString = sValue.Mid( 0, 6 );
Parse( midString );
}
else
this->m_eValue = nDefValue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment