[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann
sbergman at redhat.com
Thu Nov 10 10:38:59 UTC 2016
connectivity/source/drivers/firebird/ResultSet.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 14544da21eb35ab861f1fc8e0c7c564311eb6403
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Nov 10 11:38:27 2016 +0100
loplugin:cstylecast
Change-Id: I6ec274c6c546f60c23fe639002d751f0a9f11d33
diff --git a/connectivity/source/drivers/firebird/ResultSet.cxx b/connectivity/source/drivers/firebird/ResultSet.cxx
index 7174418..4449d5e 100644
--- a/connectivity/source/drivers/firebird/ResultSet.cxx
+++ b/connectivity/source/drivers/firebird/ResultSet.cxx
@@ -398,7 +398,7 @@ OUString OResultSet::makeNumericString(const sal_Int32 nColumnIndex)
nAllDigits = -nAllDigits; // abs
}
- sRetBuffer.append((sal_Int64) (nAllDigits / nDecimalCountExp) );
+ sRetBuffer.append(static_cast<sal_Int64>(nAllDigits / nDecimalCountExp) );
if( nDecimalCount > 0)
{
sRetBuffer.append('.');
More information about the Libreoffice-commits
mailing list