summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/odma
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-03-25 13:51:37 +0000
committerOliver Bolte <obo@openoffice.org>2008-03-25 13:51:37 +0000
commitac35a6d3620ec4874abea8f295d10a775c0ada1d (patch)
tree3482f3ef74a2a46b4ae744d49cad88a6f0b524a6 /ucb/source/ucp/odma
parent186f57efe20ce5c80ad44f45c078de9b6159cfd6 (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/odma')
-rw-r--r--ucb/source/ucp/odma/odma_provider.cxx8
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 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();