Kaydet (Commit) 83a9c8e0 authored tarafından Jochen Nitschke's avatar Jochen Nitschke

build fix

apparently harfbuzz is not build with std=c++11 everywhere

Change-Id: Ie105706212d9dd32f33bc67c8a878ce8a55e60ef
Reviewed-on: https://gerrit.libreoffice.org/32521Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJochen Nitschke <j.nitschke+logerrit@ok.de>
üst 7ed40dee
......@@ -58,7 +58,7 @@
template <typename T>
inline const Type *bsearch (T *key) const
{
+ if (len == 0) return nullptr;
+ if (len == 0) return NULL;
return (const Type *) ::bsearch (key, array, len, sizeof (Type), (hb_compare_func_t) Type::cmp);
}
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