[Libreoffice-commits] core.git: sd/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sat Jul 20 18:05:23 UTC 2019
sd/source/filter/eppt/pptexanimations.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5d7bb1f0e6b3ddcad264d7aa346a5f02b0d19d54
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Jul 20 15:26:16 2019 +0100
Commit: Caolán McNamara <caolanm at 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 <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 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;
}
}
More information about the Libreoffice-commits
mailing list