summaryrefslogtreecommitdiff
path: root/ucbhelper/workben
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-03-25 14:27:04 +0000
committerOliver Bolte <obo@openoffice.org>2008-03-25 14:27:04 +0000
commitfbea250f1d78d403847641d8e921abffd584ab41 (patch)
treecb455ac57866776bede3147d1557912f833c8354 /ucbhelper/workben
parent35d00fe6e16aa166c6770a0ec1efe00639da5695 (diff)
INTEGRATION: CWS ucbfixes06 (1.6.32); FILE MERGED
2008/01/21 12:22:10 kso 1.6.32.1: #i85139# - content instance caching should be really threadsafe now.
Diffstat (limited to 'ucbhelper/workben')
-rw-r--r--ucbhelper/workben/myucp/myucp_provider.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/ucbhelper/workben/myucp/myucp_provider.cxx b/ucbhelper/workben/myucp/myucp_provider.cxx
index e67fb9af5057..1756c82beebc 100644
--- a/ucbhelper/workben/myucp/myucp_provider.cxx
+++ b/ucbhelper/workben/myucp/myucp_provider.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: myucp_provider.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: ihi $ $Date: 2007-06-05 14:59:46 $
+ * last change: $Author: obo $ $Date: 2008-03-25 15:27:04 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -165,10 +165,10 @@ 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.
xContent = new Content( m_xSMgr, this, xCanonicId );
+ registerNewContent( xContent );
if ( !xContent->getIdentifier().is() )
throw ucb::IllegalIdentifierException();