diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-11-23 13:54:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-11-23 13:54:29 +0100 |
commit | 9017fee65712dd99cfeb14b55dea3fafb80134c9 (patch) | |
tree | 76f858494d18af4b9b1006798f30addc36d70a8f | |
parent | 6a97d9c4d9b80db41149740e4fb7706142d1b20c (diff) |
loplugin:simplifybool
Change-Id: If6084771aaa9d2bdc7ffca7550749cbb3bf8e084
-rw-r--r-- | vcl/osx/HtmlFmtFlt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |