[Libreoffice-commits] core.git: linguistic/source
Stephan Bergmann
sbergman at redhat.com
Thu Sep 29 16:47:13 UTC 2016
linguistic/source/dicimp.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a8f206d9e888c5339bd5f98961c1a460dab5504d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Sep 29 18:44:46 2016 +0200
loplugin:literaltoboolconversion
Change-Id: I99859433f3e3541c8e44248e4a29ef2c5fb24845
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index b588be1..3e7ff05 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);
}
More information about the Libreoffice-commits
mailing list