Drawing: modernize C++11
* use nullptr
This commit is contained in:
@@ -270,8 +270,8 @@ void orthoview::set_projection(const gp_Ax2& cs)
|
||||
|
||||
OrthoViews::OrthoViews(App::Document* doc, const char * pagename, const char * partname)
|
||||
{
|
||||
horiz = 0;
|
||||
vert = 0;
|
||||
horiz = nullptr;
|
||||
vert = nullptr;
|
||||
|
||||
parent_doc = doc;
|
||||
parent_doc->openTransaction("Create view");
|
||||
@@ -1325,7 +1325,7 @@ TaskDlgOrthoViews::TaskDlgOrthoViews()
|
||||
{
|
||||
widget = new TaskOrthoViews();
|
||||
taskbox = new Gui::TaskView::TaskBox(
|
||||
Gui::BitmapFactory().pixmap("actions/drawing-orthoviews"), widget->windowTitle(), true, 0);
|
||||
Gui::BitmapFactory().pixmap("actions/drawing-orthoviews"), widget->windowTitle(), true, nullptr);
|
||||
taskbox->groupLayout()->addWidget(widget);
|
||||
Content.push_back(taskbox);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user