From 6427bf87360a97f41ae351feaa35975c868260ec Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 4 Nov 2020 09:55:53 +0000 Subject: negative returns MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6f710f1aecc2e242b6006a3360e31bf2a9438fe7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105286 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- cui/source/options/optsave.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui') diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx index 564fabb730f6..74b6f408d249 100644 --- a/cui/source/options/optsave.cxx +++ b/cui/source/options/optsave.cxx @@ -375,7 +375,7 @@ void SvxSaveTabPage::Reset( const SfxItemSet* ) { for (sal_Int32 n = 0, nEntryCount = m_xDocTypeLB->get_count(); n < nEntryCount; ++n) { - int nData = m_xDocTypeLB->get_id(n).toInt32(); + unsigned int nData = m_xDocTypeLB->get_id(n).toUInt32(); OUString sCommand = "getSortedFilterList():module=%1:iflags=" + OUString::number(static_cast(SfxFilterFlags::IMPORT|SfxFilterFlags::EXPORT)) + ":eflags=" + -- cgit