std::ofstream oFStream;
// Delete old file
- int aa = remove(aFile.c_str());
+ remove(aFile.c_str());
oFStream.open(aFile, std::ofstream::out | std::ofstream::app);
if (oFStream.is_open()) {
double ModuleBase_ParamSpinBox::value() const
{
- std::string aa = lineEdit()->text().toStdString();
return lineEdit()->text().toDouble();
}
std::string aType = anAttribute->attributeType();
if (aType == ModelAPI_AttributeSelectionList::typeId()) {
AttributeSelectionListPtr aSelectionListAttr = myFeature->data()->selectionList(attributeID());
- int aa = aSelectionListAttr->size();
std::string aMode = myTypeCtrl->textValue().toStdString();
if (myTypeCtrl->isVisible() && myIsFirst && (!myDefMode.empty()))
aMode = myDefMode;
//******************************************************
QModelIndex XGUI_DataModel::index(int theRow, int theColumn, const QModelIndex &theParent) const
{
- int aa = theParent.row();
ModuleBase_ITreeNode* aParentNode = (theParent.isValid()) ?
(ModuleBase_ITreeNode*)theParent.internalPointer() : myRoot;
ModuleBase_ITreeNode* aSubNode = aParentNode->subNode(theRow);