fix coverity issues

This commit is contained in:
wmayer
2016-10-08 17:43:30 +02:00
parent 4e0323565d
commit 677ec6cd30
12 changed files with 54 additions and 48 deletions

View File

@@ -273,6 +273,9 @@ void orthoview::set_projection(gp_Ax2 cs)
OrthoViews::OrthoViews(App::Document* doc, const char * pagename, const char * partname)
{
horiz = 0;
vert = 0;
parent_doc = doc;
parent_doc->openTransaction("Create view");