void BibView::dispose()
{
VclPtr<BibGeneralPage> pGeneralPage = m_pGeneralPage;
m_pGeneralPage.reset();
pGeneralPage.disposeAndClear(); // dispose will commit any uncommitted weld::Entry changes
if ( m_aFormControlContainer.isFormConnected() )
m_aFormControlContainer.disconnectForm();
BibWindow::dispose();
}
void BibView::UpdatePages()
{ // TODO: // this is _strange_: Why not updating the existent general page? // I consider the current behaviour a HACK. if ( m_pGeneralPage )
{
m_pGeneralPage->Hide();
m_pGeneralPage.disposeAndClear();
}
if( HasFocus() ) // "delayed" GetFocus() because GetFocus() is initially called before GeneralPage is created
m_pGeneralPage->GrabFocus();
OUString sErrorString( m_pGeneralPage->GetErrorString() ); if ( sErrorString.isEmpty() ) return;
bool bExecute = BibModul::GetConfig()->IsShowColumnAssignmentWarning(); if(!m_pDatMan->HasActiveConnection())
{ //no connection is available -> the data base has to be assigned
m_pDatMan->DispatchDBChangeDialog();
bExecute = false;
} elseif(bExecute)
{
sErrorString += "\n" + BibResId(RID_MAP_QUESTION);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.