Remove empty statement.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-12-21 17:36:38 +02:00
parent 36c8e96bab
commit 5c40a91335
4 changed files with 4 additions and 4 deletions

View file

@ -290,7 +290,7 @@ VCommonSettings *VAbstractApplication::Settings()
//---------------------------------------------------------------------------------------------------------------------
QGraphicsScene *VAbstractApplication::getCurrentScene() const
{
SCASSERT(currentScene != nullptr);
SCASSERT(currentScene != nullptr)
return currentScene;
}

View file

@ -120,7 +120,7 @@ void DialogFlippingByLine::SetSecondLinePointId(quint32 value)
{
ChangeCurrentData(ui->comboBoxSecondLinePoint, value);
VisToolFlippingByLine *operation = qobject_cast<VisToolFlippingByLine *>(vis);
SCASSERT(operation != nullptr);
SCASSERT(operation != nullptr)
operation->SetSecondLinePointId(value);
}

View file

@ -206,7 +206,7 @@ void VToolAlongLine::ShowVisualization(bool show)
*/
void VToolAlongLine::setDialog()
{
SCASSERT(dialog != nullptr);
SCASSERT(dialog != nullptr)
DialogAlongLine *dialogTool = qobject_cast<DialogAlongLine*>(dialog);
SCASSERT(dialogTool != nullptr)
const QSharedPointer<VPointF> p = VAbstractTool::data.GeometricObject<VPointF>(id);

View file

@ -41,7 +41,7 @@ Q_LOGGING_CATEGORY(vTool, "v.tool")
VDataTool::VDataTool(VContainer *data, QObject *parent)
: QObject(parent), data(*data), _referens(1)
{
SCASSERT(data != nullptr);
SCASSERT(data != nullptr)
}
//---------------------------------------------------------------------------------------------------------------------