diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-13 09:33:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-13 16:54:24 +0100 |
commit | 512114e5f211a40bc7f41cb47885bb3b4ce3ded3 (patch) | |
tree | d81110212608f552878b302588ec113235e3328e /svx | |
parent | b1efc0e9ef657347ac7e2077a49bde331a8b2806 (diff) |
coverity#1078470 Unchecked return value
Change-Id: I2dab114efc8c98a17561f1694acf63918e68620d
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galtheme.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx index 72891609f1a9..38b4db45def1 100644 --- a/svx/source/gallery2/galtheme.cxx +++ b/svx/source/gallery2/galtheme.cxx @@ -1202,10 +1202,7 @@ bool GalleryTheme::InsertTransferable( const uno::Reference< datatransfer::XTran else { OUString aFile; - - aDataHelper.GetString( FORMAT_FILE, aFile ); - - if( !aFile.isEmpty() ) + if (aDataHelper.GetString(FORMAT_FILE, aFile) && !aFile.isEmpty()) aFileList.AppendFile( aFile ); } |