diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-04 09:55:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-04 15:11:56 +0100 |
commit | 6427bf87360a97f41ae351feaa35975c868260ec (patch) | |
tree | 0c23cf4d5c0d9c1f1b7ee6b44161f70ebae6ef1b /cui | |
parent | c4fc90af1355d80ad0c3e5130fd43a9b97d80b9a (diff) |
negative returns
Change-Id: I6f710f1aecc2e242b6006a3360e31bf2a9438fe7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105286
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optsave.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<int>(SfxFilterFlags::IMPORT|SfxFilterFlags::EXPORT)) + ":eflags=" + |