[Libreoffice-commits] core.git: sd/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sat Nov 2 17:11:41 UTC 2019
sd/source/filter/eppt/pptexanimations.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 81b4f551781e7a3ec1b6d4755bfc90c76c26f847
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Nov 2 15:21:34 2019 +0000
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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;
}
More information about the Libreoffice-commits
mailing list