[Libreoffice-commits] core.git: dtrans/source
Stephan Bergmann
sbergman at redhat.com
Mon Nov 27 20:07:37 UTC 2017
dtrans/source/win32/dtobj/FmtFilter.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 42beddd44b59bba8accd2a9999663bf00ca57367
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Nov 27 15:03:32 2017 +0100
loplugin:simplifybool (clang-cl)
Change-Id: Id86ddcbed61df87f8da7a58972387d950d14634d
Reviewed-on: https://gerrit.libreoffice.org/45339
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
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
More information about the Libreoffice-commits
mailing list