summaryrefslogtreecommitdiff
path: root/unotools/source/misc/mediadescriptor.cxx
diff options
context:
space:
mode:
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();