dtrans/source/win32/dtobj/FmtFilter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 42beddd44b59bba8accd2a9999663bf00ca57367
Author: Stephan Bergmann <sberg...@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 <c...@libreoffice.org>
    Reviewed-by: Stephan Bergmann <sberg...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to