summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorHenrik Palomäki <henrik.palomaki@yandex.com>2021-11-23 13:41:43 +0200
committerHossein <hossein@libreoffice.org>2021-11-23 14:26:54 +0100
commit5d01e747270722ad9216ace8e782c7dfac5d744e (patch)
tree05ebcf83467803dba03c2e3c7c23b0339dcda244 /connectivity
parent792cd487831b1f731b6fb2fc2d0f39ef60a63534 (diff)
tdf#114441 Convert use of sal_uLong to sal_uInt32
The suitable type for variable nIndex is determined by knowing that the return type of the detectNumberFormat() is sal_uInt32, and the second parameter for the getNumberFormatType() is also sal_uInt32. Change-Id: I6578eba05f151ee31eb8eb8142d70f8f5c7c702b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125696 Tested-by: Hossein <hossein@libreoffice.org> Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/flat/ETable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx
index 68f1a82dcdd7..83ce7eb3c090 100644
--- a/connectivity/source/drivers/flat/ETable.cxx
+++ b/connectivity/source/drivers/flat/ETable.cxx
@@ -201,7 +201,7 @@ void OFlatTable::impl_fillColumnInfo_nothrow(QuotedTokenizedString const & aFirs
if ( io_nType != DataType::VARCHAR )
{
bool bNumeric = io_nType == DataType::SQLNULL || io_nType == DataType::DOUBLE || io_nType == DataType::DECIMAL || io_nType == DataType::INTEGER;
- sal_uLong nIndex = 0;
+ sal_uInt32 nIndex = 0;
if ( bNumeric )
{