loplugin:oncevar: empty strings: vcl

Change-Id: Ic9a3b72dbff3333cba45b9ad4b75e8de12bc4c06
This commit is contained in:
Stephan Bergmann 2017-07-13 11:44:15 +02:00
parent d2c22426c1
commit 75ea7ce9fb
4 changed files with 4 additions and 8 deletions

View File

@ -1323,8 +1323,7 @@ void TextEngine::UndoActionStart( sal_uInt16 nId )
{
if ( IsUndoEnabled() && !IsInUndo() )
{
OUString aComment;
GetUndoManager().EnterListAction( aComment, OUString(), nId, ViewShellId(-1) );
GetUndoManager().EnterListAction( OUString(), OUString(), nId, ViewShellId(-1) );
}
}

View File

@ -185,8 +185,7 @@ bool JPEGWriter::Write( const Graphic& rGraphic )
if ( mxStatusIndicator.is() )
{
OUString aMsg;
mxStatusIndicator->start( aMsg, 100 );
mxStatusIndicator->start( OUString(), 100 );
}
Bitmap aGraphicBmp( rGraphic.GetBitmap() );

View File

@ -291,8 +291,7 @@ WinMtf::WinMtf( GDIMetaFile& rGDIMetaFile, SvStream& rStreamWMF, FilterConfigIte
xStatusIndicator = pFilterConfigItem->GetStatusIndicator();
if ( xStatusIndicator.is() )
{
OUString aMsg;
xStatusIndicator->start( aMsg, 100 );
xStatusIndicator->start( OUString(), 100 );
}
}
}

View File

@ -1693,8 +1693,7 @@ bool WMFWriter::WriteWMF( const GDIMetaFile& rMTF, SvStream& rTargetStream,
xStatusIndicator = pFConfigItem->GetStatusIndicator();
if ( xStatusIndicator.is() )
{
OUString aMsg;
xStatusIndicator->start( aMsg, 100 );
xStatusIndicator->start( OUString(), 100 );
}
}
nLastPercent=0;