User: kz Date: 2007-05-10 10:36:29+0000 Log: INTEGRATION: CWS dba23a (1.20.60); FILE MERGED 2007/02/26 11:48:18 fs 1.20.60.1: remove unused code Issue number: #i74804# Submitted by: [EMAIL PROTECTED] Reviewed by: [EMAIL PROTECTED]
File Changes: Directory: /dba/dbaccess/source/ui/misc/ ======================================== File [changed]: linkeddocuments.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/linkeddocuments.cxx?r1=1.20&r2=1.21 Delta lines: +0 -18 -------------------- --- linkeddocuments.cxx 2006-10-12 13:42:26+0000 1.20 +++ linkeddocuments.cxx 2007-05-10 10:36:27+0000 1.21 @@ -211,24 +211,6 @@ DBG_DTOR(OLinkedDocumentsAccess,NULL); } //------------------------------------------------------------------ - void OLinkedDocumentsAccess::implDrop(const ::rtl::OUString& _rLinkName) - { - OSL_ENSURE(m_xDocumentContainer.is(), "OLinkedDocumentsAccess::OLinkedDocumentsAccess: invalid document container!"); - try - { - Reference< XNameContainer > xRemoveAccess(m_xDocumentContainer, UNO_QUERY); - if (xRemoveAccess.is()) - xRemoveAccess->removeByName(_rLinkName); - else - OSL_ENSURE(sal_False, "OLinkedDocumentsAccess::implDrop: : missing the XNameContainer interface!"); - } - catch(const Exception&) - { - OSL_ENSURE(sal_False, "OLinkedDocumentsAccess::implDrop: : caught an exception while removing the object!"); - } - } - - //------------------------------------------------------------------ Reference< XComponent> OLinkedDocumentsAccess::implOpen(const ::rtl::OUString& _rLinkName,Reference< XComponent >& _xDefinition, EOpenMode _eOpenMode) { Reference< XComponent> xRet; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
