INTEGRATION: CWS native172 (1.17.72); FILE MERGED
2008/07/17 08:50:40 dv 1.17.72.1: #i91692# Check alive status before accessing member variables
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
* OpenOffice.org - a multi-platform office productivity suite
|
* OpenOffice.org - a multi-platform office productivity suite
|
||||||
*
|
*
|
||||||
* $RCSfile: dp_gui_updatedialog.cxx,v $
|
* $RCSfile: dp_gui_updatedialog.cxx,v $
|
||||||
* $Revision: 1.17 $
|
* $Revision: 1.18 $
|
||||||
*
|
*
|
||||||
* This file is part of OpenOffice.org.
|
* This file is part of OpenOffice.org.
|
||||||
*
|
*
|
||||||
@@ -551,13 +551,25 @@ bool UpdateDialog::Thread::update(
|
|||||||
const ::boost::optional< ::rtl::OUString> updateWebsiteURL(infoset.getLocalizedUpdateWebsiteURL());
|
const ::boost::optional< ::rtl::OUString> updateWebsiteURL(infoset.getLocalizedUpdateWebsiteURL());
|
||||||
rtl::OUStringBuffer b(package->getDisplayName());
|
rtl::OUStringBuffer b(package->getDisplayName());
|
||||||
b.append(static_cast< sal_Unicode >(' '));
|
b.append(static_cast< sal_Unicode >(' '));
|
||||||
b.append(m_dialog.m_version);
|
{
|
||||||
|
vos::OGuard g( Application::GetSolarMutex() );
|
||||||
|
if ( m_stop )
|
||||||
|
return !m_stop;
|
||||||
|
else
|
||||||
|
b.append(m_dialog.m_version);
|
||||||
|
}
|
||||||
b.append(static_cast< sal_Unicode >(' '));
|
b.append(static_cast< sal_Unicode >(' '));
|
||||||
b.append(infoset.getVersion());
|
b.append(infoset.getVersion());
|
||||||
if (updateWebsiteURL)
|
if (updateWebsiteURL)
|
||||||
{
|
{
|
||||||
b.append(static_cast< sal_Unicode >(' '));
|
b.append(static_cast< sal_Unicode >(' '));
|
||||||
b.append(m_dialog.m_browserbased);
|
{
|
||||||
|
vos::OGuard g( Application::GetSolarMutex() );
|
||||||
|
if ( m_stop )
|
||||||
|
return !m_stop;
|
||||||
|
else
|
||||||
|
b.append(m_dialog.m_browserbased);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
du.name = b.makeStringAndClear();
|
du.name = b.makeStringAndClear();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user