--HG--
branch : feature
This commit is contained in:
dismine 2014-03-06 17:35:24 +02:00
parent 39d0e94cec
commit d06bc59000
4 changed files with 4 additions and 4 deletions

View File

@ -93,7 +93,7 @@ public:
Q_CHECK_PTR(obj);
return obj;
}
catch(const std::bad_alloc &)
catch (const std::bad_alloc &)
{
throw VExceptionBadId(tr("Can't cast object"), id);
return nullptr;

View File

@ -277,7 +277,7 @@ QString DialogHistory::Record(const VToolRecord &tool)
{
const QString pName = data->GeometricObject<const VPointF *>(points.at(0).P().id())->name();
record = QString(tr("Curve point %1")).arg(pName);
if(points.size() > 1)
if (points.size() > 1)
{
const QString pName = data->GeometricObject<const VPointF *>(points.last().P().id())->name();
record.append(QString("_%1").arg(pName));