summaryrefslogtreecommitdiff
path: root/unotools/source/misc/mediadescriptor.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-27 14:06:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-28 08:55:10 +0200
commit26c82e22bf4f077022ae88d0a7f8ad0fa6d2a5ba (patch)
tree42bf27db4a1da0fa3ea3bdd7997e7058c1638f98 /unotools/source/misc/mediadescriptor.cxx
parentef531e85d95fe18d553bce1a6926d24c08ffe2bf (diff)
loplugin:oncevar in ucb..vbahelper
Change-Id: I1fc7c7505a42b3bf9d4a5ab22961930b9831d4ae Reviewed-on: https://gerrit.libreoffice.org/39327 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools/source/misc/mediadescriptor.cxx')
-rw-r--r--unotools/source/misc/mediadescriptor.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx
index c8c2ec98ea91..1e37fe199cad 100644
--- a/unotools/source/misc/mediadescriptor.cxx
+++ b/unotools/source/misc/mediadescriptor.cxx
@@ -575,8 +575,7 @@ bool MediaDescriptor::impl_openStreamWithPostData( const css::uno::Reference< cs
aPostArgument.MediaType = sMediaType;
aPostArgument.Referer = getUnpackedValueOrDefault( PROP_REFERRER(), OUString() );
- OUString sCommandName( "post" );
- aContent.executeCommand( sCommandName, css::uno::makeAny( aPostArgument ) );
+ aContent.executeCommand( "post", css::uno::makeAny( aPostArgument ) );
// get result
xResultStream = xSink->getInputStream();