diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-03-25 13:50:44 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-03-25 13:50:44 +0000 |
commit | 186f57efe20ce5c80ad44f45c078de9b6159cfd6 (patch) | |
tree | 83ede6871752c875bb28f8aaf015560dba98c9f1 | |
parent | 16a6182c495c7be5e3034280c51d170644b8b173 (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.
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchyprovider.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.cxx b/ucb/source/ucp/hierarchy/hierarchyprovider.cxx index 8789e60f1e..ec5a2d8d3a 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(); |