cid#1597273 Unchecked return value
Change-Id: Ia48abe54185c23f740b1385ca2bfd45950209f77 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167434 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
f60126a6bf
commit
4c602fd255
1 changed files with 1 additions and 3 deletions
|
@ -2159,9 +2159,7 @@ IMPL_LINK(SbaTableQueryBrowser, OnExpandEntry, const weld::TreeIter&, rParent, b
|
|||
|
||||
// it could be that we already have a connection
|
||||
SharedConnection xConnection;
|
||||
ensureConnection(xFirstParent.get(), xConnection);
|
||||
|
||||
if ( xConnection.is() )
|
||||
if (ensureConnection(xFirstParent.get(), xConnection) && xConnection.is())
|
||||
{
|
||||
SQLExceptionInfo aInfo;
|
||||
try
|
||||
|
|
Loading…
Reference in a new issue