diff options
Diffstat (limited to 'libcmis/libcmis-0.2.3.patch')
-rw-r--r-- | libcmis/libcmis-0.2.3.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/libcmis/libcmis-0.2.3.patch b/libcmis/libcmis-0.2.3.patch deleted file mode 100644 index 255e8073193c..000000000000 --- a/libcmis/libcmis-0.2.3.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- src/libcmis/atom-document.cxx 2012-07-02 14:39:04.815222889 +0200 -+++ src/libcmis/atom-document.cxx 2012-07-02 14:41:09.088229625 +0200 -@@ -129,15 +129,22 @@ - vector< string > AtomDocument::getPaths( ) - { - vector< string > paths; -- vector< libcmis::FolderPtr > parents = getParents( ); -- for ( vector< libcmis::FolderPtr >::iterator it = parents.begin( ); -- it != parents.end(); ++it ) -+ try - { -- string path = ( *it )->getPath( ); -- if ( path[path.size() - 1] != '/' ) -- path += "/"; -- path += getName( ); -- paths.push_back( path ); -+ vector< libcmis::FolderPtr > parents = getParents( ); -+ for ( vector< libcmis::FolderPtr >::iterator it = parents.begin( ); -+ it != parents.end(); ++it ) -+ { -+ string path = ( *it )->getPath( ); -+ if ( path[path.size() - 1] != '/' ) -+ path += "/"; -+ path += getName( ); -+ paths.push_back( path ); -+ } -+ } -+ catch ( const libcmis::Exception& ) -+ { -+ // We may not have the permission to get the parents - } - return paths; - } |