Drawing: modernize C++11

* use nullptr
This commit is contained in:
wmayer
2022-03-23 19:11:05 +01:00
parent 2c229d3bc0
commit 46117f0ae1
17 changed files with 39 additions and 39 deletions

View File

@@ -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);
}