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 QGraphicsScene *VAbstractApplication::getCurrentScene() const
{ {
SCASSERT(currentScene != nullptr); SCASSERT(currentScene != nullptr)
return currentScene; return currentScene;
} }

View File

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

View File

@ -206,7 +206,7 @@ void VToolAlongLine::ShowVisualization(bool show)
*/ */
void VToolAlongLine::setDialog() void VToolAlongLine::setDialog()
{ {
SCASSERT(dialog != nullptr); SCASSERT(dialog != nullptr)
DialogAlongLine *dialogTool = qobject_cast<DialogAlongLine*>(dialog); DialogAlongLine *dialogTool = qobject_cast<DialogAlongLine*>(dialog);
SCASSERT(dialogTool != nullptr) SCASSERT(dialogTool != nullptr)
const QSharedPointer<VPointF> p = VAbstractTool::data.GeometricObject<VPointF>(id); 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) VDataTool::VDataTool(VContainer *data, QObject *parent)
: QObject(parent), data(*data), _referens(1) : QObject(parent), data(*data), _referens(1)
{ {
SCASSERT(data != nullptr); SCASSERT(data != nullptr)
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------