diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-11 17:35:43 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-11 17:35:43 +0100 |
commit | 6dc2d2573dbfcbe67e65476e8b25470f0a2312d0 (patch) | |
tree | e42348c6a4244a805a5423abdf4c0fffebc1bf33 /vcl/source/control | |
parent | 8b614e7b98ea434c496721052007349656bd33dd (diff) |
loplugin:redundantcast: vcl
(after a to-be-committed improved loplugin:cstylecast would have rewritten the
C-style casts into static_casts)
Change-Id: I5e515738a29c6d79154560d69c8b86885800ba88
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/field2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx index 1c0268b09869..ce8aa460484d 100644 --- a/vcl/source/control/field2.cxx +++ b/vcl/source/control/field2.cxx @@ -1451,7 +1451,7 @@ void DateFormatter::SetExtDateFormat( ExtDateFieldFormat eFormat ) ExtDateFieldFormat DateFormatter::GetExtDateFormat( bool bResolveSystemFormat ) const { - ExtDateFieldFormat eDateFormat = (ExtDateFieldFormat)mnExtDateFormat; + ExtDateFieldFormat eDateFormat = mnExtDateFormat; if ( bResolveSystemFormat && ( eDateFormat <= ExtDateFieldFormat::SystemShortYYYY ) ) { |