Tag: cws_src680_rptwizard01 User: lla Date: 2008-06-09 10:02:17+0000 Modified: dba/dbaccess/source/core/dataaccess/documentdefinition.cxx
Log: #i90513# declaration of 'aGuard' shadows a previous local File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: documentdefinition.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/documentdefinition.cxx?r1=1.50.46.5&r2=1.50.46.6 Delta lines: +7 -6 ------------------- --- documentdefinition.cxx 2008-06-09 09:26:38+0000 1.50.46.5 +++ documentdefinition.cxx 2008-06-09 10:02:11+0000 1.50.46.6 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: documentdefinition.cxx,v $ - * $Revision: 1.50.46.5 $ + * $Revision: 1.50.46.6 $ * * This file is part of OpenOffice.org. * @@ -1362,13 +1362,14 @@ if ( !m_bOpenInDesign ) return sal_False; + { osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex ); if ( !m_pImpl->m_aProps.aTitle.getLength() ) { aGuard.clear(); return save(sal_False); // (sal_False) : we don't want an approve dialog } - aGuard.clear(); + } try { { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
