Tag: cws_dev300_odbmacros3 User: fs Date: 2008-07-23 11:50:08+0000 Modified: dba/dbaccess/source/core/dataaccess/databasedocument.cxx
Log: #i76128# some methods are allowed to be called even if the document is not yet initialized File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: databasedocument.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/databasedocument.cxx?r1=1.40.6.9&r2=1.40.6.10 Delta lines: +4 -4 ------------------- --- databasedocument.cxx 2008-07-23 10:03:31+0000 1.40.6.9 +++ databasedocument.cxx 2008-07-23 11:50:05+0000 1.40.6.10 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: databasedocument.cxx,v $ - * $Revision: 1.40.6.9 $ + * $Revision: 1.40.6.10 $ * * This file is part of OpenOffice.org. * @@ -400,7 +400,7 @@ // ----------------------------------------------------------------------------- ::rtl::OUString SAL_CALL ODatabaseDocument::getURL( ) throw (RuntimeException) { - ModelMethodGuard aGuard( *this ); + ModelMethodGuard aGuard( *this, ModelMethodGuard::MethodWithoutInit ); return m_pImpl->getURL(); } @@ -534,13 +534,13 @@ // XStorable sal_Bool SAL_CALL ODatabaseDocument::hasLocation( ) throw (RuntimeException) { - ModelMethodGuard aGuard( *this ); + ModelMethodGuard aGuard( *this, ModelMethodGuard::MethodWithoutInit ); return m_pImpl->getLocation().getLength() > 0; } // ----------------------------------------------------------------------------- ::rtl::OUString SAL_CALL ODatabaseDocument::getLocation( ) throw (RuntimeException) { - ModelMethodGuard aGuard( *this ); + ModelMethodGuard aGuard( *this, ModelMethodGuard::MethodWithoutInit ); return m_pImpl->getLocation(); } // ----------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]