vcl/osx/HtmlFmtFlt.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9017fee65712dd99cfeb14b55dea3fafb80134c9 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Nov 23 13:54:29 2017 +0100 loplugin:simplifybool Change-Id: If6084771aaa9d2bdc7ffca7550749cbb3bf8e084 diff --git a/vcl/osx/HtmlFmtFlt.cxx b/vcl/osx/HtmlFmtFlt.cxx index 5c32772aa512..7208c67616e7 100644 --- a/vcl/osx/HtmlFmtFlt.cxx +++ b/vcl/osx/HtmlFmtFlt.cxx @@ -82,7 +82,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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits