forked from amazingfate/loongoffice
Change-Id: I602ae9b173e42d668cd9383fa0d2517576db12bf Reviewed-on: https://gerrit.libreoffice.org/6326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
14 lines
490 B
Diff
14 lines
490 B
Diff
diff --git src/libcmis/document.cxx src/libcmis/document.cxx
|
|
index 1af0d63..7ecfd24 100644
|
|
--- src/libcmis/document.cxx
|
|
+++ src/libcmis/document.cxx
|
|
@@ -44,6 +44,8 @@ namespace libcmis
|
|
it != parents.end(); ++it )
|
|
{
|
|
string path = ( *it )->getPath( );
|
|
+ if ( path.empty() )
|
|
+ continue;
|
|
if ( path[path.size() - 1] != '/' )
|
|
path += "/";
|
|
path += getName( );
|