diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-11-27 15:03:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-11-27 21:07:00 +0100 |
commit | 42beddd44b59bba8accd2a9999663bf00ca57367 (patch) | |
tree | 0d1338cfab810d6ccbd0ec2a551d78d3b2174eda /dtrans | |
parent | 2eb0cadf0395c60198e36307222de3dd1e7729a6 (diff) |
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>
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/win32/dtobj/FmtFilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrans/source/win32/dtobj/FmtFilter.cxx b/dtrans/source/win32/dtobj/FmtFilter.cxx index dd39d7956d15..0a284290b51b 100644 --- a/dtrans/source/win32/dtobj/FmtFilter.cxx +++ b/dtrans/source/win32/dtobj/FmtFilter.cxx @@ -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 |