diff options
author | 66kesara99 <dev.kesara@gmail.com> | 2017-09-23 07:07:14 +0530 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-24 20:18:56 +0200 |
commit | 16549dc267149aaf098191591acb20024ea21513 (patch) | |
tree | 6037a3e72b2289ed353f75e60faa60b0ba7b24f3 /connectivity/source/commontools | |
parent | iOS, static library. (diff) | |
download | core-16549dc267149aaf098191591acb20024ea21513.tar.gz core-16549dc267149aaf098191591acb20024ea21513.zip |
tdf#96505 Get rid of cargo cult "long" integer literals
Remove unnecessary "Long" literals in multiple locations
Change-Id: Icc44546f10fed841683053eee01b788274e0add1
Reviewed-on: https://gerrit.libreoffice.org/42683
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r-- | connectivity/source/commontools/dbtools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index 16c3d9b7782e..445d0e639275 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -175,7 +175,7 @@ sal_Int32 getDefaultNumberFormat(sal_Int32 _nDataType, { // generate a new format if necessary Reference< XNumberFormats > xFormats(_xTypes, UNO_QUERY); - OUString sNewFormat = xFormats->generateFormat( 0L, _rLocale, false, false, (sal_Int16)_nScale, 1); + OUString sNewFormat = xFormats->generateFormat( 0, _rLocale, false, false, (sal_Int16)_nScale, 1); // and add it to the formatter if necessary nFormat = xFormats->queryKey(sNewFormat, _rLocale, false); |