summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-27 15:02:37 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-27 15:02:37 +0200
commitf82bd120bc6be156e565f0bf663a4ffab356830e (patch)
tree9af792afdfac97915f24c2c7067275b6d563f39f /sw
parent337e19bf469c0a7a10fabd07fa6ae13f77075e36 (diff)
loplugin:literaltoboolconversion
Change-Id: I886f4fcb3de5a931f94b2f45f5f0cdb841af26d1
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/rtf/swparrtf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/rtf/swparrtf.cxx b/sw/source/filter/rtf/swparrtf.cxx
index 4bc289dfd8f8..be7b259450d3 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);