Kaydet (Commit) 6dc2d257 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:redundantcast: vcl

(after a to-be-committed improved loplugin:cstylecast would have rewritten the
C-style casts into static_casts)

Change-Id: I5e515738a29c6d79154560d69c8b86885800ba88
üst 8b614e7b
......@@ -390,7 +390,7 @@ public:
const tools::Time& GetMax() const { return maMax; }
void SetTimeFormat( TimeFormat eNewFormat );
TimeFormat GetTimeFormat() const { return (TimeFormat)mnTimeFormat;}
TimeFormat GetTimeFormat() const { return mnTimeFormat;}
void SetFormat( TimeFieldFormat eNewFormat );
TimeFieldFormat GetFormat() const { return meFormat; }
......
......@@ -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 ) )
{
......
......@@ -48,7 +48,7 @@ BitmapChecksum AnimationBitmap::GetChecksum() const
UInt32ToSVBT32( aSizePix.Height(), aBT32 );
nCrc = vcl_get_checksum( nCrc, aBT32, 4 );
UInt32ToSVBT32( (long) nWait, aBT32 );
UInt32ToSVBT32( nWait, aBT32 );
nCrc = vcl_get_checksum( nCrc, aBT32, 4 );
UInt32ToSVBT32( (long) eDisposal, aBT32 );
......
......@@ -2983,7 +2983,7 @@ bool GtkSalGraphics::NWPaintGTKToolbar(
{
gtk_paint_flat_box( gWidgetData[m_nXScreen].gToolbarWidget->style,
gdkDrawable,
(GtkStateType)GTK_STATE_NORMAL,
GTK_STATE_NORMAL,
GTK_SHADOW_NONE,
&clipRect,
gWidgetData[m_nXScreen].gToolbarWidget,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment