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
d7636ee3
Kaydet (Commit)
d7636ee3
authored
Kas 26, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
This one has been upstreamed.
Change-Id: I1f55575b07cfc3cddd27b3d42ab354405f13fa60
üst
2ef1f2ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
64 deletions
+0
-64
UnpackedTarball_orcus.mk
liborcus/UnpackedTarball_orcus.mk
+0
-2
liborcus_0.1.0-warnings.patch
liborcus/liborcus_0.1.0-warnings.patch
+0
-62
No files found.
liborcus/UnpackedTarball_orcus.mk
Dosyayı görüntüle @
d7636ee3
...
...
@@ -14,8 +14,6 @@ $(eval $(call gb_UnpackedTarball_set_tarball,orcus,$(ORCUS_TARBALL)))
$(eval $(call gb_UnpackedTarball_set_patchlevel,orcus,0))
orcus_patches :=
# -Werror,-Wunused-variable -Werror,-Wunused-private-field
orcus_patches += liborcus_0.1.0-warnings.patch
# make config.sub recognize arm-linux-androideabi
orcus_patches += liborcus_0.1.0-configure.patch
# fix MinGW build
...
...
liborcus/liborcus_0.1.0-warnings.patch
deleted
100644 → 0
Dosyayı görüntüle @
2ef1f2ca
--- src/liborcus/pstring.cpp 2012-09-07 06:00:35.000000000 +0200
+++ src/liborcus/pstring.cpp 2012-09-07 16:56:14.000000000 +0200
@@ -57,25 +57,25 @@
pstring pstring::intern(const char* str, size_t n)
{
- ::boost::mutex::scoped_lock(interned_strings.mtx);
+ ::boost::mutex::scoped_lock lock(interned_strings.mtx);
return interned_strings.store.intern(str, n);
}
void pstring::intern::dispose()
{
- ::boost::mutex::scoped_lock(interned_strings.mtx);
+ ::boost::mutex::scoped_lock lock(interned_strings.mtx);
interned_strings.store.clear();
}
size_t pstring::intern::size()
{
- ::boost::mutex::scoped_lock(interned_strings.mtx);
+ ::boost::mutex::scoped_lock lock(interned_strings.mtx);
return interned_strings.store.size();
}
void pstring::intern::dump()
{
- ::boost::mutex::scoped_lock(interned_strings.mtx);
+ ::boost::mutex::scoped_lock lock(interned_strings.mtx);
interned_strings.store.dump();
}
--- src/liborcus/xml_map_tree.cpp 2012-09-07 06:00:35.000000000 +0200
+++ src/liborcus/xml_map_tree.cpp 2012-09-07 16:59:23.000000000 +0200
@@ -55,15 +55,14 @@
{
const char* mp_char;
const char* mp_end;
- size_t m_size;
public:
- xpath_parser(const char* p, size_t n) : mp_char(p), mp_end(p+n), m_size(n)
+ xpath_parser(const char* p, size_t n) : mp_char(p), mp_end(p+n)
{
if (!n)
- xml_map_tree::xpath_error("empty path");
+ throw xml_map_tree::xpath_error("empty path");
if (*p != '/')
- xml_map_tree::xpath_error("first character must be '/'.");
+ throw xml_map_tree::xpath_error("first character must be '/'.");
++mp_char;
}
@@ -414,7 +413,7 @@
{
// Make sure the root element's names are the same.
if (mp_root->name != name)
- xpath_error("path begins with inconsistent root level name.");
+ throw xpath_error("path begins with inconsistent root level name.");
}
else
{
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