From ac35a6d3620ec4874abea8f295d10a775c0ada1d Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Tue, 25 Mar 2008 13:51:37 +0000 Subject: 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. --- ucb/source/ucp/odma/odma_provider.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ucb/source/ucp/odma') diff --git a/ucb/source/ucp/odma/odma_provider.cxx b/ucb/source/ucp/odma/odma_provider.cxx index a64a3b1fd3..43ee2e4dd5 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(); -- cgit v1.2.3