summaryrefslogtreecommitdiff
path: root/vcl/source/filter/wmf
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 /vcl/source/filter/wmf
parentd2c22426c1e4275cd6ade5b21ea8f9a9e5c54de1 (diff)
loplugin:oncevar: empty strings: vcl
Change-Id: Ic9a3b72dbff3333cba45b9ad4b75e8de12bc4c06
Diffstat (limited to 'vcl/source/filter/wmf')
-rw-r--r--vcl/source/filter/wmf/winmtf.cxx3
-rw-r--r--vcl/source/filter/wmf/wmfwr.cxx3
2 files changed, 2 insertions, 4 deletions
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;