-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
{
_id = -1;
_type = theDocumentType;
- _modified = true;
+ _modified = false;
}
DF_Document::~DF_Document()
if(node) vn.push_back(node);
}
- for(int i = 0, len = vn.size(); i<len; i++)
+ for(size_t i = 0, len = vn.size(); i<len; i++)
delete vn[i];
_root._node->Reset();
//Restores a content of the Document from the std::string theData
-void DF_Document::Load(const std::string& theData)
+void DF_Document::Load(const std::string& /*theData*/)
{
//Not implemented
}