diff options
author | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2013-09-02 16:11:25 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2013-09-02 16:12:01 +0200 |
commit | 8248dbeb71264a6911fbb1611c745bb766c37546 (patch) | |
tree | 4da6eff5f835e33fbd96929292106c34de131270 /ucb | |
parent | 77173d8954c370bcaca80b48181c330b759b9517 (diff) |
ucb: fixed bad init of shared_ptr
Change-Id: I3d7fc2c01d58da58eb984ad5c10435f86f87f56a
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_content.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_repo_content.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index 03bfd55a0b9f..4abd22bbb8d1 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -285,7 +285,7 @@ namespace cmis if ( authProvider.authenticationQuery( rUsername, rPassword ) ) { // Initiate a CMIS session and register it as we found nothing - libcmis::OAuth2DataPtr oauth2Data = 0; + libcmis::OAuth2DataPtr oauth2Data; if ( m_aURL.getBindingUrl( ) == GDRIVE_BASE_URL ) oauth2Data.reset( new libcmis::OAuth2Data( GDRIVE_AUTH_URL, GDRIVE_TOKEN_URL, diff --git a/ucb/source/ucp/cmis/cmis_repo_content.cxx b/ucb/source/ucp/cmis/cmis_repo_content.cxx index bf72a66688ab..f9f7ce05155c 100644 --- a/ucb/source/ucp/cmis/cmis_repo_content.cxx +++ b/ucb/source/ucp/cmis/cmis_repo_content.cxx @@ -148,7 +148,7 @@ namespace cmis try { // Create a session to get repositories - libcmis::OAuth2DataPtr oauth2Data = 0; + libcmis::OAuth2DataPtr oauth2Data; libcmis::Session* session = libcmis::SessionFactory::createSession( OUSTR_TO_STDSTR( m_aURL.getBindingUrl( ) ), |