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:
parent
2eb0cadf03
commit
42beddd44b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue