diff options
author | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2013-07-11 17:03:34 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2013-09-02 13:51:50 +0200 |
commit | b24c15f2e338bd89bfd3059024d5d78d1b5767b8 (patch) | |
tree | 6d7c83aca1b38d4fff24391abe5c2f0bf7077796 /ucb/source/ucp/cmis | |
parent | b3a2011b4c81d2c2ac4f816fe0b2b445d8dec4f0 (diff) |
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
Diffstat (limited to 'ucb/source/ucp/cmis')
-rw-r--r-- | ucb/source/ucp/cmis/auth_provider.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_content.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_content.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_provider.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_repo_content.cxx | 6 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_repo_content.hxx | 7 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_url.cxx | 2 |
7 files changed, 11 insertions, 12 deletions
diff --git a/ucb/source/ucp/cmis/auth_provider.hxx b/ucb/source/ucp/cmis/auth_provider.hxx index c7a57dfdfe74..9fc5fae1b4a0 100644 --- a/ucb/source/ucp/cmis/auth_provider.hxx +++ b/ucb/source/ucp/cmis/auth_provider.hxx @@ -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> diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index 45ae0cef48e3..299e45929177 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -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> diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx index 669360f92747..a3dd3beac80e 100644 --- a/ucb/source/ucp/cmis/cmis_content.hxx +++ b/ucb/source/ucp/cmis/cmis_content.hxx @@ -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> diff --git a/ucb/source/ucp/cmis/cmis_provider.hxx b/ucb/source/ucp/cmis/cmis_provider.hxx index 5251c26c67b3..86a033619836 100644 --- a/ucb/source/ucp/cmis/cmis_provider.hxx +++ b/ucb/source/ucp/cmis/cmis_provider.hxx @@ -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 { diff --git a/ucb/source/ucp/cmis/cmis_repo_content.cxx b/ucb/source/ucp/cmis/cmis_repo_content.cxx index e7c8977f4ccc..61ada61f929f 100644 --- a/ucb/source/ucp/cmis/cmis_repo_content.cxx +++ b/ucb/source/ucp/cmis/cmis_repo_content.cxx @@ -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 ); diff --git a/ucb/source/ucp/cmis/cmis_repo_content.hxx b/ucb/source/ucp/cmis/cmis_repo_content.hxx index 404acfa84094..7c7061243c1a 100644 --- a/ucb/source/ucp/cmis/cmis_repo_content.hxx +++ b/ucb/source/ucp/cmis/cmis_repo_content.hxx @@ -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(); diff --git a/ucb/source/ucp/cmis/cmis_url.cxx b/ucb/source/ucp/cmis/cmis_url.cxx index 5235add025b1..226024b06bbb 100644 --- a/ucb/source/ucp/cmis/cmis_url.cxx +++ b/ucb/source/ucp/cmis/cmis_url.cxx @@ -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> |