From 1ef8ab3ed7930cec2569ee576a409c7a6bbb42e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 12 Nov 2016 12:23:08 +0000 Subject: [PATCH] coverity#1394295 Unchecked return value Change-Id: Ie4edbe91ab4f9b9910fc895e47ea8b9fdfc00b7e --- connectivity/source/drivers/firebird/PreparedStatement.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx index 6ff2994a4719..28851935dd29 100644 --- a/connectivity/source/drivers/firebird/PreparedStatement.cxx +++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx @@ -330,7 +330,7 @@ sal_Int64 toNumericWithoutDecimalPlace(const OUString& sSource) OUString sNumber(sSource); // cut off leading 0 eventually ( eg. 0.567 -> .567) - sSource.startsWith("0", &sNumber); + (void)sSource.startsWith("0", &sNumber); sal_Int32 nDotIndex = sNumber.indexOf((sal_Unicode)'.');