sal/rtl/bootstrap.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 394dbb7f637afe10041506975b5dbc2202a78b4d Author: Chris Sherlock <[email protected]> Date: Sun Nov 5 01:20:54 2017 +1100 rtl: change nullptr comparison Change-Id: I0c356b100b732e259646d4ebb5d0aedd4dc4bcdd Reviewed-on: https://gerrit.libreoffice.org/44302 Tested-by: Jenkins <[email protected]> Reviewed-by: Bartosz Kosiorek <[email protected]> diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx index 5cb251f9bba4..d7b015c3ff2e 100644 --- a/sal/rtl/bootstrap.cxx +++ b/sal/rtl/bootstrap.cxx @@ -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( _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
