diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-06 18:31:53 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-06 18:31:53 +0200 |
commit | 12162c8297b3661bd0bad65df830f42141e94672 (patch) | |
tree | 15d0d5bf92bf67a198eae720bf0b8849901605be /sax | |
parent | 93c0b1f5dafa1c9d01c804f350129dde047bb8dc (diff) |
Improved loplugin:redundantcast, static_cast on arithmetic types: sax
Change-Id: I4f7c635af8d9d02657d978c08175833fb45adcbf
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/tools/converter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx index c0e9e1f1dc03..9377e14411b7 100644 --- a/sax/source/tools/converter.cxx +++ b/sax/source/tools/converter.cxx @@ -1242,7 +1242,7 @@ bool Converter::convertDuration(util::Duration& rDuration, rDuration.Hours = static_cast<sal_Int16>(nHours); rDuration.Minutes = static_cast<sal_Int16>(nMinutes); rDuration.Seconds = static_cast<sal_Int16>(nSeconds); - rDuration.NanoSeconds = static_cast<sal_Int32>(nNanoSeconds); + rDuration.NanoSeconds = nNanoSeconds; } return bSuccess; |