diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-03-25 13:51:37 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-03-25 13:51:37 +0000 |
commit | 354e8570e8a5816eee3c83e48ff7b36c6120ed6f (patch) | |
tree | 10cb3dd6fad295b03bde7e4b721c773c3d96bdb6 /ucb/source/ucp | |
parent | 80a7ec3ae12dc3646113b5468a18a6b544c3649e (diff) |
INTEGRATION: CWS ucbfixes06 (1.7.54); FILE MERGED
2008/01/21 12:23:01 kso 1.7.54.1: #i85139# - Adapted to changed ucbhelper API.
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r-- | ucb/source/ucp/odma/odma_provider.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/odma/odma_provider.cxx b/ucb/source/ucp/odma/odma_provider.cxx index b7725a9266a8..6c5ad3fad1e1 100644 --- a/ucb/source/ucp/odma/odma_provider.cxx +++ b/ucb/source/ucp/odma/odma_provider.cxx @@ -4,9 +4,9 @@ * * $RCSfile: odma_provider.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: ihi $ $Date: 2007-06-05 18:11:00 $ + * last change: $Author: obo $ $Date: 2008-03-25 14:51:37 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -227,8 +227,7 @@ uno::Reference< ucb::XContent > SAL_CALL ContentProvider::queryContent( // @@@ Decision, which content implementation to instanciate may be // made here ( in case you have different content classes ). - // Create a new content. Note that the content will insert itself - // into providers content list by calling addContent(...) from it's ctor. + // Create a new content. sCanonicURL = convertURL(sCanonicURL); @@ -280,6 +279,7 @@ uno::Reference< ucb::XContent > SAL_CALL ContentProvider::queryContent( throw ucb::IllegalIdentifierException(); xContent = new Content( m_xSMgr, this, xCanonicId ,aProp); + registerNewContent( xContent ); if ( !xContent->getIdentifier().is() ) throw ucb::IllegalIdentifierException(); |