loplugin:simplifybool (clang-cl)

Change-Id: Id86ddcbed61df87f8da7a58972387d950d14634d
Reviewed-on: https://gerrit.libreoffice.org/45339
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2017-11-27 15:03:32 +01:00
parent 2eb0cadf03
commit 42beddd44b

View file

@ -247,7 +247,7 @@ Sequence<sal_Int8> SAL_CALL TextHtmlToHTMLFormat(Sequence<sal_Int8> const & aTex
{
OSL_ASSERT(aTextHtml.getLength() > 0);
if (!(aTextHtml.getLength() > 0))
if (aTextHtml.getLength() <= 0)
return Sequence<sal_Int8>();
// fill the buffer with dummy values to calc the exact length