summaryrefslogtreecommitdiff
path: root/linguistic/source/dicimp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-09-29 18:44:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-09-29 18:44:46 +0200
commita8f206d9e888c5339bd5f98961c1a460dab5504d (patch)
treed9321b5d9f6b24f048a490e535191b2ad3265a48 /linguistic/source/dicimp.cxx
parente379ef63bc5610fd85e92003548ad3ae0f2328f5 (diff)
loplugin:literaltoboolconversion
Change-Id: I99859433f3e3541c8e44248e4a29ef2c5fb24845
Diffstat (limited to 'linguistic/source/dicimp.cxx')
-rw-r--r--linguistic/source/dicimp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index b588be1fb569..3e7ff05ab18e 100644
--- a/linguistic/source/dicimp.cxx
+++ b/linguistic/source/dicimp.cxx
@@ -387,7 +387,7 @@ sal_uLong DictionaryNeo::saveEntries(const OUString &rURL)
}
catch (const uno::Exception &)
{
- DBG_ASSERT( 0, "failed to get input stream" );
+ DBG_ASSERT( false, "failed to get input stream" );
}
if (!xStream.is())
return static_cast< sal_uLong >(-1);
@@ -445,7 +445,7 @@ sal_uLong DictionaryNeo::saveEntries(const OUString &rURL)
}
catch (const uno::Exception &)
{
- DBG_ASSERT( 0, "failed to write stream" );
+ DBG_ASSERT( false, "failed to write stream" );
return static_cast< sal_uLong >(-1);
}