summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-29 20:46:55 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-30 12:37:11 +0200
commit89b88b168bf59df52f2320aef2a5881cec8fa4b8 (patch)
tree063335bb984ba79d9e0c4975c42456e985a3d7f9
parent90e4ea2489918f391953dd3405174ea7a1013ef8 (diff)
cid#1606757 Overflowed constant
Change-Id: Iefc06368d1d37c22907a72a27065fba88488db02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172637 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r--fpicker/source/office/fileview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/office/fileview.cxx b/fpicker/source/office/fileview.cxx
index a371ceb5f2cc..d6b648fa04db 100644
--- a/fpicker/source/office/fileview.cxx
+++ b/fpicker/source/office/fileview.cxx
@@ -1109,7 +1109,7 @@ void SvtFileView::SetConfigString(std::u16string_view rCfgStr)
while ( nIdx != -1 )
{
- sal_uInt16 nItemId = static_cast<sal_uInt16>(o3tl::toInt32(o3tl::getToken(rCfgStr, 0, ';', nIdx )));
+ int nItemId = o3tl::toInt32(o3tl::getToken(rCfgStr, 0, ';', nIdx ));
int nWidth = o3tl::toInt32(o3tl::getToken(rCfgStr, 0, ';', nIdx ));