loplugin:oncevar: empty strings: vcl
Change-Id: Ic9a3b72dbff3333cba45b9ad4b75e8de12bc4c06
This commit is contained in:
@@ -1323,8 +1323,7 @@ void TextEngine::UndoActionStart( sal_uInt16 nId )
|
|||||||
{
|
{
|
||||||
if ( IsUndoEnabled() && !IsInUndo() )
|
if ( IsUndoEnabled() && !IsInUndo() )
|
||||||
{
|
{
|
||||||
OUString aComment;
|
GetUndoManager().EnterListAction( OUString(), OUString(), nId, ViewShellId(-1) );
|
||||||
GetUndoManager().EnterListAction( aComment, OUString(), nId, ViewShellId(-1) );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -185,8 +185,7 @@ bool JPEGWriter::Write( const Graphic& rGraphic )
|
|||||||
|
|
||||||
if ( mxStatusIndicator.is() )
|
if ( mxStatusIndicator.is() )
|
||||||
{
|
{
|
||||||
OUString aMsg;
|
mxStatusIndicator->start( OUString(), 100 );
|
||||||
mxStatusIndicator->start( aMsg, 100 );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Bitmap aGraphicBmp( rGraphic.GetBitmap() );
|
Bitmap aGraphicBmp( rGraphic.GetBitmap() );
|
||||||
|
@@ -291,8 +291,7 @@ WinMtf::WinMtf( GDIMetaFile& rGDIMetaFile, SvStream& rStreamWMF, FilterConfigIte
|
|||||||
xStatusIndicator = pFilterConfigItem->GetStatusIndicator();
|
xStatusIndicator = pFilterConfigItem->GetStatusIndicator();
|
||||||
if ( xStatusIndicator.is() )
|
if ( xStatusIndicator.is() )
|
||||||
{
|
{
|
||||||
OUString aMsg;
|
xStatusIndicator->start( OUString(), 100 );
|
||||||
xStatusIndicator->start( aMsg, 100 );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1693,8 +1693,7 @@ bool WMFWriter::WriteWMF( const GDIMetaFile& rMTF, SvStream& rTargetStream,
|
|||||||
xStatusIndicator = pFConfigItem->GetStatusIndicator();
|
xStatusIndicator = pFConfigItem->GetStatusIndicator();
|
||||||
if ( xStatusIndicator.is() )
|
if ( xStatusIndicator.is() )
|
||||||
{
|
{
|
||||||
OUString aMsg;
|
xStatusIndicator->start( OUString(), 100 );
|
||||||
xStatusIndicator->start( aMsg, 100 );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nLastPercent=0;
|
nLastPercent=0;
|
||||||
|
Reference in New Issue
Block a user