Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
2b6e9bd8
Kaydet (Commit)
2b6e9bd8
authored
Tem 02, 2012
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
libcmis: fixed unexpected exception thrown
Change-Id: Iaa42756f596333747a9100e075a2638b839175b3
üst
51408103
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
0 deletions
+37
-0
libcmis-0.2.3.patch
libcmis/libcmis-0.2.3.patch
+34
-0
makefile.mk
libcmis/makefile.mk
+3
-0
No files found.
libcmis/libcmis-0.2.3.patch
0 → 100644
Dosyayı görüntüle @
2b6e9bd8
diff -ru libcmis-0.2.3/src/libcmis/atom-document.cxx misc/build/libcmis-0.2.3/src/libcmis/atom-document.cxx
--- libcmis-0.2.3/src/libcmis/atom-document.cxx 2012-07-02 14:39:04.815222889 +0200
+++ misc/build/libcmis-0.2.3/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;
}
libcmis/makefile.mk
Dosyayı görüntüle @
2b6e9bd8
...
...
@@ -44,6 +44,9 @@ TARGET=cmis
TARFILE_NAME
=
libcmis-0.2.3
TARFILE_MD5
=
0d2dcdfbf28d6208751b33057f5361f0
# Pushed upstream in both master and libcmis-0.2 branches
PATCH_FILES
+=
libcmis-0.2.3.patch
.IF
"$(OS)$(COM)"
==
"WNTMSC"
PATCH_FILES
+=
boost-win.patch
.ENDIF
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment