Kaydet (Commit) 394dbb7f authored tarafından Chris Sherlock's avatar Chris Sherlock Kaydeden (comit) Eike Rathke

rtl: change nullptr comparison

Change-Id: I0c356b100b732e259646d4ebb5d0aedd4dc4bcdd
Reviewed-on: https://gerrit.libreoffice.org/44302Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarBartosz Kosiorek <gang65@poczta.onet.pl>
üst 047cc1d9
......@@ -622,7 +622,7 @@ struct bootstrap_map {
static t * get()
{
if (m_map == nullptr)
if (!m_map)
m_map = new t;
return m_map;
......@@ -735,7 +735,7 @@ sal_Bool SAL_CALL rtl_bootstrap_get_from_handle(
bool found = false;
if(ppValue && pName)
{
if (handle == nullptr)
if (!handle)
handle = get_static_bootstrap_handle();
found = static_cast< Bootstrap_Impl * >(handle)->getValue(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment