Switched to use libcmis' future 0.4.0 code

This means that building with internal libcmis won't work. Make install
libcmis master code and use --with-system-libcmis to build after this
commit

Change-Id: I3df31b299cfc462436681bb36a62c626b3ce3dfe
This commit is contained in:
Cédric Bosdonnat
2013-07-11 17:03:34 +02:00
parent b3a2011b4c
commit b24c15f2e3
8 changed files with 12 additions and 13 deletions

View File

@@ -7646,7 +7646,7 @@ libo_CHECK_SYSTEM_MODULE([libvisio],[VISIO],[libvisio-0.0])
dnl ===================================================================
dnl Check for system libcmis
dnl ===================================================================
libo_CHECK_SYSTEM_MODULE([libcmis],[CMIS],[libcmis-0.3 >= 0.3.1])
libo_CHECK_SYSTEM_MODULE([libcmis],[CMIS],[libcmis-0.4 >= 0.4.0])
dnl ===================================================================
dnl Check for system libwpd

View File

@@ -9,7 +9,7 @@
#ifndef AUTH_PROVIDER_HXX
#define AUTH_PROVIDER_HXX
#include <libcmis/session.hxx>
#include <libcmis/libcmis.hxx>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>

View File

@@ -33,8 +33,6 @@
#include <com/sun/star/ucb/XCommandInfo.hpp>
#include <com/sun/star/ucb/XDynamicResultSet.hpp>
#include <libcmis/document.hxx>
#include <comphelper/processfactory.hxx>
#include <ucbhelper/cancelcommandexecution.hxx>
#include <ucbhelper/content.hxx>

View File

@@ -21,7 +21,7 @@
#include <com/sun/star/ucb/TransferInfo.hpp>
#include <com/sun/star/ucb/XContentCreator.hpp>
#include <ucbhelper/contenthelper.hxx>
#include <libcmis/session-factory.hxx>
#include <libcmis/libcmis.hxx>
#include <list>

View File

@@ -12,7 +12,7 @@
#include <com/sun/star/beans/Property.hpp>
#include <ucbhelper/providerhelper.hxx>
#include <libcmis/session.hxx>
#include <libcmis/libcmis.hxx>
namespace cmis
{

View File

@@ -40,7 +40,7 @@ namespace cmis
{
RepoContent::RepoContent( const uno::Reference< uno::XComponentContext >& rxContext,
ContentProvider *pProvider, const uno::Reference< ucb::XContentIdentifier >& Identifier,
list< libcmis::RepositoryPtr > aRepos )
vector< libcmis::RepositoryPtr > aRepos )
throw ( ucb::ContentCreationException )
: ContentImplHelper( rxContext, pProvider, Identifier ),
m_pProvider( pProvider ),
@@ -169,7 +169,7 @@ namespace cmis
if ( !m_sRepositoryId.isEmpty() )
{
for ( list< libcmis::RepositoryPtr >::iterator it = m_aRepositories.begin( );
for ( vector< libcmis::RepositoryPtr >::iterator it = m_aRepositories.begin( );
it != m_aRepositories.end( ) && NULL == repo.get( ); ++it )
{
if ( STD_TO_OUSTR( ( *it )->getId( ) ) == m_sRepositoryId )
@@ -349,7 +349,7 @@ namespace cmis
if ( m_sRepositoryId.isEmpty( ) )
{
for ( list< libcmis::RepositoryPtr >::iterator it = m_aRepositories.begin( );
for ( vector< libcmis::RepositoryPtr >::iterator it = m_aRepositories.begin( );
it != m_aRepositories.end(); ++it )
{
URL aUrl( m_aURL );

View File

@@ -20,8 +20,9 @@
#include <com/sun/star/ucb/TransferInfo.hpp>
#include <com/sun/star/ucb/XContentCreator.hpp>
#include <ucbhelper/contenthelper.hxx>
#include <libcmis/repository.hxx>
#include <libcmis/libcmis.hxx>
#include <vector>
#include <list>
namespace com { namespace sun { namespace star {
@@ -52,7 +53,7 @@ private:
URL m_aURL;
OUString m_sRepositoryId;
std::list< libcmis::RepositoryPtr > m_aRepositories;
std::vector< libcmis::RepositoryPtr > m_aRepositories;
private:
@@ -76,7 +77,7 @@ public:
RepoContent( const com::sun::star::uno::Reference<
com::sun::star::uno::XComponentContext >& rxContext, ContentProvider *pProvider,
const com::sun::star::uno::Reference< com::sun::star::ucb::XContentIdentifier >& Identifier,
std::list< libcmis::RepositoryPtr > aRepos = std::list< libcmis::RepositoryPtr > ( ) )
std::vector< libcmis::RepositoryPtr > aRepos = std::vector< libcmis::RepositoryPtr > ( ) )
throw ( com::sun::star::ucb::ContentCreationException );
virtual ~RepoContent();

View File

@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <libcmis/session-factory.hxx>
#include <libcmis/libcmis.hxx>
#include <rtl/uri.hxx>