diff --git a/doc/tutorial/010_ObjectModel.md b/doc/tutorial/010_ObjectModel.md index db30a3c3..6680cf4e 100644 --- a/doc/tutorial/010_ObjectModel.md +++ b/doc/tutorial/010_ObjectModel.md @@ -87,7 +87,7 @@ Find a global Object (ouside an Object) #include ewol::ObjectShared tmpObject = ewol::getContext().getEObjectManager().getObjectNamed("obj Name"); - if (tmpObject == nullptr) { + if (tmpObject == null) { APPL_ERROR("The Object does not exist"); } ``` @@ -97,7 +97,7 @@ Find a global Object (inside an Object) ```{.cpp} ewol::ObjectShared tmpObject = getObjectNamed("obj Name"); - if (tmpObject == nullptr) { + if (tmpObject == null) { APPL_ERROR("The Object does not exist"); } ``` diff --git a/doc/tutorial/012_ObjectMessage.md b/doc/tutorial/012_ObjectMessage.md index b054791a..ec52e030 100644 --- a/doc/tutorial/012_ObjectMessage.md +++ b/doc/tutorial/012_ObjectMessage.md @@ -54,7 +54,7 @@ namespace appl { void init() { ewol::Object::init(); m_button = ewol::widget::Button::create(); - if (m_button == nullptr) { + if (m_button == null) { APPL_ERROR("Can not create button..."); return; } diff --git a/doc/tutorial/021_Resources.md b/doc/tutorial/021_Resources.md index a32a59b9..09b02b0f 100644 --- a/doc/tutorial/021_Resources.md +++ b/doc/tutorial/021_Resources.md @@ -57,7 +57,7 @@ namespace appl { public: void onChangePropertyFile() { m_config = ewol::resource::ConfigFile::create(*propertyConfig); - if (m_config != nullptr) { + if (m_config != null) { m_configValId = m_config->request("exampleConfigName"); } } diff --git a/doc/tutorial/030_ConplexeXmlGui.md b/doc/tutorial/030_ConplexeXmlGui.md index 16003ace..b6cf4715 100644 --- a/doc/tutorial/030_ConplexeXmlGui.md +++ b/doc/tutorial/030_ConplexeXmlGui.md @@ -32,7 +32,7 @@ First create the widget: ```{.cpp} ewol::widget::ButtonShared tmpWidget = ewol::widget::Button::create(); - if (tmpWidget == nullptr) { + if (tmpWidget == null) { APPL_CRITICAL("The widget can not be created"); } ``` @@ -60,7 +60,7 @@ We can configure the wiget before the init() is called. "name", etk::String("my name"), "expand", bvec2(true,false), "fill", bvec2(true,true)); - if (tmpWidget == nullptr) { + if (tmpWidget == null) { APPL_CRITICAL("The widget can not be created"); } ``` @@ -78,7 +78,7 @@ Call generic factory system (compositing) ```{.cpp} #include ewol::widget::WidgetShared tmpWidget = ewol::widget::composerGenerateString("