sd/source/filter/eppt/pptexanimations.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5d7bb1f0e6b3ddcad264d7aa346a5f02b0d19d54 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Jul 20 15:26:16 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Jul 20 20:04:04 2019 +0200 cid#1448375 Improper use of negative value Change-Id: Iaea347e5ca91ad164ad970ec8f0a485fd8a0d75e Reviewed-on: https://gerrit.libreoffice.org/76016 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx index 21b8fbd3a370..6740b79174b2 100644 --- a/sd/source/filter/eppt/pptexanimations.cxx +++ b/sd/source/filter/eppt/pptexanimations.cxx @@ -904,7 +904,7 @@ sal_uInt32 AnimationExporter::GetPresetID( const OUString& rPreset, sal_uInt32 n if ( ( nLast != -1 ) && ( ( nLast + 1 ) < rPreset.getLength() ) ) { OUString aNumber( rPreset.copy( nLast + 1 ) ); - nPresetId = aNumber.toInt32(); + nPresetId = aNumber.toUInt32(); bPresetId = true; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits