diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-12 09:44:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-12 09:47:41 +0000 |
commit | c43c50723d6e395184214b56aa9964125622d9eb (patch) | |
tree | d671d993ba55eaeb47ac1cd9b774c13ac8e4dfa8 /ucb | |
parent | 510f497f05cbf65e2ee425a8af43f47406dbfcc5 (diff) |
coverity#1397041 Unchecked return value
Change-Id: Ia8c601475bea142faad9c1f1e9b797d0ebc13679
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/FileAccess.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/core/FileAccess.cxx b/ucb/source/core/FileAccess.cxx index 4c2859da297a..545785c5d0db 100644 --- a/ucb/source/core/FileAccess.cxx +++ b/ucb/source/core/FileAccess.cxx @@ -276,12 +276,12 @@ void OFileAccess::transferImpl( const OUString& rSource, try { - aDestPath.transferContent( aSrc, - bMoveData - ? ucbhelper::InsertOperation_MOVE - : ucbhelper::InsertOperation_COPY, - aName, - css::ucb::NameClash::OVERWRITE ); + (void)aDestPath.transferContent(aSrc, + bMoveData + ? ucbhelper::InsertOperation_MOVE + : ucbhelper::InsertOperation_COPY, + aName, + css::ucb::NameClash::OVERWRITE); } catch ( css::ucb::CommandFailedException const & ) { |