INTEGRATION: CWS ucbfixes06 (1.18.54); FILE MERGED

2008/01/21 12:23:02 kso 1.18.54.1: #i85139# - Adapted to changed ucbhelper API.
This commit is contained in:
Oliver Bolte
2008-03-25 13:58:43 +00:00
parent 36c4d854ae
commit 09506d2a23

View File

@@ -4,9 +4,9 @@
* *
* $RCSfile: webdavprovider.cxx,v $ * $RCSfile: webdavprovider.cxx,v $
* *
* $Revision: 1.18 $ * $Revision: 1.19 $
* *
* last change: $Author: ihi $ $Date: 2007-06-05 18:22:00 $ * last change: $Author: obo $ $Date: 2008-03-25 14:58:43 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@@ -207,13 +207,13 @@ ContentProvider::queryContent(
if ( xContent.is() ) if ( xContent.is() )
return xContent; return xContent;
// Create a new content. Note that the content will insert itself // Create a new content.
// into providers content list by calling addContent(...) from it's ctor.
try try
{ {
xContent = new ::webdav_ucp::Content( xContent = new ::webdav_ucp::Content(
m_xSMgr, this, xCanonicId, m_xDAVSessionFactory ); m_xSMgr, this, xCanonicId, m_xDAVSessionFactory );
registerNewContent( xContent );
} }
catch ( ucb::ContentCreationException const & ) catch ( ucb::ContentCreationException const & )
{ {