diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-27 20:56:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-28 10:31:27 +0000 |
commit | 119f0da5037ebea7f3f6dabfb354d1cf1c41bb82 (patch) | |
tree | fa823b25817971fdc6161629ba624e7781f6c007 /sfx2 | |
parent | 4779f2a76920c3f842bcd34cc2580fefe6fd1402 (diff) |
coverity#704019 Unchecked return value
Change-Id: I605861dd741b1899924c0079b931da418be5d647
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 580ecad2a145..082aa20d8828 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -1885,7 +1885,7 @@ void SfxMedium::Transfer_Impl() ::ucbhelper::Content aTransferContent; ::ucbhelper::Content aDestContent; - ::ucbhelper::Content::create( aDestURL, xComEnv, comphelper::getProcessComponentContext(), aDestContent ); + (void)::ucbhelper::Content::create( aDestURL, xComEnv, comphelper::getProcessComponentContext(), aDestContent ); // For checkin, we need the object URL, not the parent folder: if ( !IsInCheckIn( ) ) { @@ -1948,7 +1948,7 @@ void SfxMedium::Transfer_Impl() CloseStreams_Impl(); - ::ucbhelper::Content::create( aSource.GetMainURL( INetURLObject::NO_DECODE ), xEnv, comphelper::getProcessComponentContext(), aSourceContent ); + (void)::ucbhelper::Content::create( aSource.GetMainURL( INetURLObject::NO_DECODE ), xEnv, comphelper::getProcessComponentContext(), aSourceContent ); // check for external parameters that may customize the handling of NameClash situations SFX_ITEMSET_ARG( GetItemSet(), pRename, SfxBoolItem, SID_RENAME, false ); |