coverity#735404 Logically dead code
Change-Id: I648a573bc886c790886caa45324503cd15c350cd
This commit is contained in:
@@ -105,24 +105,6 @@ bool OQueryTableWindow::Init()
|
|||||||
m_aTitle.SetText( pWinData->GetWinName() );
|
m_aTitle.SetText( pWinData->GetWinName() );
|
||||||
m_aTitle.Show();
|
m_aTitle.Show();
|
||||||
|
|
||||||
if (!bSuccess)
|
|
||||||
{ // it should just open a dummy window...
|
|
||||||
OSL_ENSURE(!GetAliasName().isEmpty(), "OQueryTableWindow::Init : kein Alias- UND kein Tabellenname geht nicht !");
|
|
||||||
// .. but that needs at least an Alias
|
|
||||||
|
|
||||||
// create ::com::sun::star::form::ListBox
|
|
||||||
if (!m_pListBox)
|
|
||||||
m_pListBox = CreateListBox();
|
|
||||||
|
|
||||||
// set title
|
|
||||||
m_aTitle.SetText(GetAliasName());
|
|
||||||
m_aTitle.Show();
|
|
||||||
|
|
||||||
clearListBox();
|
|
||||||
// don't need to refill them as I don't have a table
|
|
||||||
m_pListBox->Show();
|
|
||||||
}
|
|
||||||
|
|
||||||
getTableView()->getDesignView()->getController().InvalidateFeature(ID_BROWSER_QUERY_EXECUTE);
|
getTableView()->getDesignView()->getController().InvalidateFeature(ID_BROWSER_QUERY_EXECUTE);
|
||||||
return bSuccess;
|
return bSuccess;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user