diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-20 20:51:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-22 08:43:47 +0100 |
commit | 3df9783efa839f8c025891edb5cf9e9f12620d3f (patch) | |
tree | 0f507159804a8ae486be182f3680d87966a9572c /dbaccess/source/ui/tabledesign | |
parent | 7ce02fbe19c2e5ff5288a68c6e7f6945170d33c8 (diff) |
coverity#703941 Unchecked return value
Change-Id: Ifdc48318a21a1334da00b11fae62c9d25585793c
Diffstat (limited to 'dbaccess/source/ui/tabledesign')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TEditControl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx index 0295bc916c8e..310e2b55ee8c 100644 --- a/dbaccess/source/ui/tabledesign/TEditControl.cxx +++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx @@ -798,8 +798,8 @@ void OTableEditorCtrl::InsertRows( long nRow ) if(aTransferData.HasFormat(SOT_FORMATSTR_ID_SBA_TABED)) { SotStorageStreamRef aStreamRef; - aTransferData.GetSotStorageStream(SOT_FORMATSTR_ID_SBA_TABED,aStreamRef); - if(aStreamRef.Is()) + bool bOk = aTransferData.GetSotStorageStream(SOT_FORMATSTR_ID_SBA_TABED,aStreamRef); + if (bOk && aStreamRef.Is()) { aStreamRef->Seek(STREAM_SEEK_TO_BEGIN); aStreamRef->ResetError(); |