summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-02 15:21:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-02 18:10:39 +0100
commit81b4f551781e7a3ec1b6d4755bfc90c76c26f847 (patch)
tree9bbc5f131714bd0fd95f18ed8725297157ec1dbb /sd
parentb461740a9ca89eb3b036c366ba60f24c7aad2b60 (diff)
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@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 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;
}