Kaydet (Commit) 18d87f5b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Improved loplugin:redundantcast, static_cast on arithmetic types: sfx2

Change-Id: Ic524a0fc2c1038202456dcf0aa51a8a3eb9a70b0
üst e40f3cf3
......@@ -331,7 +331,7 @@ void ShutdownIcon::StartFileDialog()
{
::SolarMutexGuard aGuard;
bool bDirty = ( m_bSystemDialogs != static_cast<bool>(SvtMiscOptions().UseSystemFileDialog()) );
bool bDirty = ( m_bSystemDialogs != SvtMiscOptions().UseSystemFileDialog() );
if ( m_pFileDlg && bDirty )
{
......
......@@ -548,7 +548,7 @@ sal_uInt16 ThumbnailViewAcc::getItemCount() const
ThumbnailViewItem* ThumbnailViewAcc::getItem (sal_uInt16 nIndex) const
{
return mpParent->ImplGetVisibleItem (static_cast<sal_uInt16>(nIndex));
return mpParent->ImplGetVisibleItem (nIndex);
}
void ThumbnailViewAcc::ThrowIfDisposed()
......
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