summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-13 11:44:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-13 11:44:15 +0200
commit75ea7ce9fb3f1bbff9abb4f324db8edb84a374d5 (patch)
tree51d05916d65edb9464f2b45ce61dc8ccb55ddc7e
parentd2c22426c1e4275cd6ade5b21ea8f9a9e5c54de1 (diff)
loplugin:oncevar: empty strings: vcl
Change-Id: Ic9a3b72dbff3333cba45b9ad4b75e8de12bc4c06
-rw-r--r--vcl/source/edit/texteng.cxx3
-rw-r--r--vcl/source/filter/jpeg/JpegWriter.cxx3
-rw-r--r--vcl/source/filter/wmf/winmtf.cxx3
-rw-r--r--vcl/source/filter/wmf/wmfwr.cxx3
4 files changed, 4 insertions, 8 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index 5f8084ee9d31..ef4edfd46537 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -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) );
}
}
diff --git a/vcl/source/filter/jpeg/JpegWriter.cxx b/vcl/source/filter/jpeg/JpegWriter.cxx
index 6ffa172c3018..eff1bacd2ddb 100644
--- a/vcl/source/filter/jpeg/JpegWriter.cxx
+++ b/vcl/source/filter/jpeg/JpegWriter.cxx
@@ -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() );
diff --git a/vcl/source/filter/wmf/winmtf.cxx b/vcl/source/filter/wmf/winmtf.cxx
index 9e6b84dbb112..5053307069db 100644
--- a/vcl/source/filter/wmf/winmtf.cxx
+++ b/vcl/source/filter/wmf/winmtf.cxx
@@ -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 );
}
}
}
diff --git a/vcl/source/filter/wmf/wmfwr.cxx b/vcl/source/filter/wmf/wmfwr.cxx
index e89199dced08..7facdbd8aa93 100644
--- a/vcl/source/filter/wmf/wmfwr.cxx
+++ b/vcl/source/filter/wmf/wmfwr.cxx
@@ -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;