summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-20 15:26:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-20 20:04:04 +0200
commit5d7bb1f0e6b3ddcad264d7aa346a5f02b0d19d54 (patch)
tree7e0f2f4414abee5fcf6def6f91226902df11814e /sd
parentedc8d9650d7fbd98d6b301c662724c97f61128e5 (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptexanimations.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}
}