sd/source/filter/eppt/pptexanimations.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 81b4f551781e7a3ec1b6d4755bfc90c76c26f847 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Nov 2 15:21:34 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Nov 2 18:10:39 2019 +0100 cid#1455215 Improper use of negative value Change-Id: I0a397cb54192b613bf61a8faa384507b9731b828 Reviewed-on: https://gerrit.libreoffice.org/81940 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 1b316006d15f..5da76b64b94f 100644 --- a/sd/source/filter/eppt/pptexanimations.cxx +++ b/sd/source/filter/eppt/pptexanimations.cxx @@ -211,7 +211,7 @@ sal_uInt32 AnimationExporter::TranslatePresetSubType( const sal_uInt32 nPresetCl } } if ( !bTranslated ) - nPresetSubType = static_cast<sal_uInt32>(rPresetSubType.toInt32()); + nPresetSubType = rPresetSubType.toUInt32(); return nPresetSubType; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits