[Libreoffice-commits] core.git: ucb/source
Cédric Bosdonnat
cedric.bosdonnat.ooo at free.fr
Mon Sep 2 07:04:21 PDT 2013
ucb/source/ucp/cmis/cmis_content.cxx | 2 +-
ucb/source/ucp/cmis/cmis_repo_content.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 8248dbeb71264a6911fbb1611c745bb766c37546
Author: Cédric Bosdonnat <cedric.bosdonnat.ooo at free.fr>
Date: Mon Sep 2 16:11:25 2013 +0200
ucb: fixed bad init of shared_ptr
Change-Id: I3d7fc2c01d58da58eb984ad5c10435f86f87f56a
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx
index 03bfd55..4abd22b 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 bf72a66..f9f7ce0 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( ) ),
More information about the Libreoffice-commits
mailing list