sw/source/filter/rtf/swparrtf.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f82bd120bc6be156e565f0bf663a4ffab356830e
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Thu Oct 27 15:02:37 2016 +0200

    loplugin:literaltoboolconversion
    
    Change-Id: I886f4fcb3de5a931f94b2f45f5f0cdb841af26d1

diff --git a/sw/source/filter/rtf/swparrtf.cxx 
b/sw/source/filter/rtf/swparrtf.cxx
index 4bc289d..be7b259 100644
--- a/sw/source/filter/rtf/swparrtf.cxx
+++ b/sw/source/filter/rtf/swparrtf.cxx
@@ -179,7 +179,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL 
TestImportRTF(const OUString& rURL
     aDescriptor[0].Name = "InputStream";
     uno::Reference<io::XStream> xStream(new utl::OStreamWrapper(aFileStream));
     aDescriptor[0].Value <<= xStream;
-    bool bRet(1);
+    bool bRet = true;
     try
     {
         xFilter->filter(aDescriptor);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to