fix various coverity issues

This commit is contained in:
wmayer
2017-09-15 11:48:38 +02:00
parent 5c1eadf947
commit 770c9ce095
17 changed files with 83 additions and 21 deletions

View File

@@ -110,7 +110,7 @@ using namespace Import;
#define OCAF_KEEP_PLACEMENT
ImportOCAF::ImportOCAF(Handle(TDocStd_Document) h, App::Document* d, const std::string& name)
: pDoc(h), doc(d), default_name(name)
: pDoc(h), doc(d), merge(true), default_name(name)
{
aShapeTool = XCAFDoc_DocumentTool::ShapeTool (pDoc->Main());
aColorTool = XCAFDoc_DocumentTool::ColorTool(pDoc->Main());