[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Thu Oct 27 13:03:01 UTC 2016
sw/source/filter/rtf/swparrtf.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f82bd120bc6be156e565f0bf663a4ffab356830e
Author: Stephan Bergmann <sbergman at 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);
More information about the Libreoffice-commits
mailing list