ucb/source/ucp/cmis/cmis_repo_content.cxx | 6 ------ 1 file changed, 6 deletions(-)
New commits: commit 358a8ffde16c30d364317459757ed93c246df5ce Author: Cao Cuong Ngo <[email protected]> Date: Wed Jul 17 09:25:21 2013 +0200 CMIS Google Drive get repositories We don't have to create a session just to get a dummy repository. Change-Id: I0193d499d5a45aaa6fa7d1d18301e70ab550518d diff --git a/ucb/source/ucp/cmis/cmis_repo_content.cxx b/ucb/source/ucp/cmis/cmis_repo_content.cxx index e0fd7af..2cd4668 100644 --- a/ucb/source/ucp/cmis/cmis_repo_content.cxx +++ b/ucb/source/ucp/cmis/cmis_repo_content.cxx @@ -32,7 +32,6 @@ #include "cmis_provider.hxx" #include "cmis_repo_content.hxx" #include "cmis_resultset.hxx" -#include "cmis_oauth2_providers.hxx" #define OUSTR_TO_STDSTR(s) string( OUStringToOString( s, RTL_TEXTENCODING_UTF8 ).getStr() ) #define STD_TO_OUSTR( str ) OUString( str.c_str(), str.length( ), RTL_TEXTENCODING_UTF8 ) @@ -145,11 +144,6 @@ namespace cmis { // Create a session to get repositories libcmis::OAuth2DataPtr oauth2Data = NULL; - if ( m_aURL.getBindingUrl( ) == GDRIVE_BASE_URL ) - oauth2Data.reset( new libcmis::OAuth2Data( - GDRIVE_AUTH_URL, GDRIVE_TOKEN_URL, - GDRIVE_SCOPE, GDRIVE_REDIRECT_URI, - GDRIVE_CLIENT_ID, GDRIVE_CLIENT_SECRET ) ); libcmis::Session* session = libcmis::SessionFactory::createSession( OUSTR_TO_STDSTR( m_aURL.getBindingUrl( ) ), _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
