Refactoring. Remove unused method.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-08-21 14:22:25 +03:00
parent acf429518d
commit 4841a7937d
2 changed files with 0 additions and 14 deletions

View File

@ -610,18 +610,6 @@ const VTranslateVars *VContainer::GetTrVars() const
return d->trVars;
}
//---------------------------------------------------------------------------------------------------------------------
/**
* @brief VariableExist check if exist variable this same name.
* @param name name of row
* @return true if contains
*/
// cppcheck-suppress unusedFunction
bool VContainer::VariableExist(const QString &name)
{
return d->variables.contains(name);
}
//---------------------------------------------------------------------------------------------------------------------
template <typename T>
const QMap<QString, QSharedPointer<T> > VContainer::DataVar(const VarType &type) const

View File

@ -178,8 +178,6 @@ public:
static qreal height();
static qreal *rheight();
bool VariableExist(const QString& name);
void RemoveIncrement(const QString& name);
const QHash<quint32, QSharedPointer<VGObject> > *DataGObjects() const;