summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/hierarchy/hierarchyprovider.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-03-25 13:50:44 +0000
committerOliver Bolte <obo@openoffice.org>2008-03-25 13:50:44 +0000
commit80a7ec3ae12dc3646113b5468a18a6b544c3649e (patch)
tree87371ac7b17071b43ac4329d7d485a301d9e7cd0 /ucb/source/ucp/hierarchy/hierarchyprovider.cxx
parent906fa4f51648a2eada2ff905b0717bea2cde6786 (diff)
INTEGRATION: CWS ucbfixes06 (1.16.54); FILE MERGED
2008/01/21 12:23:01 kso 1.16.54.1: #i85139# - Adapted to changed ucbhelper API.
Diffstat (limited to 'ucb/source/ucp/hierarchy/hierarchyprovider.cxx')
-rw-r--r--ucb/source/ucp/hierarchy/hierarchyprovider.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.cxx b/ucb/source/ucp/hierarchy/hierarchyprovider.cxx
index 8789e60f1ee7..ec5a2d8d3a70 100644
--- a/ucb/source/ucp/hierarchy/hierarchyprovider.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchyprovider.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: hierarchyprovider.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: ihi $ $Date: 2007-06-05 18:06:58 $
+ * last change: $Author: obo $ $Date: 2008-03-25 14:50:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -171,10 +171,9 @@ HierarchyContentProvider::queryContent(
if ( xContent.is() )
return xContent;
- // Create a new content. Note that the content will insert itself
- // into m_pContents by calling addContent(...) from it's ctor.
-
+ // Create a new content.
xContent = HierarchyContent::create( m_xSMgr, this, xCanonicId );
+ registerNewContent( xContent );
if ( xContent.is() && !xContent->getIdentifier().is() )
throw ucb::IllegalIdentifierException();