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
4578ed5b
Kaydet (Commit)
4578ed5b
authored
Kas 24, 2014
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
upload libodfgen 0.1.2
Change-Id: I9a4719e60f910256c529551fdbb387e98aefd6ce
üst
4c78ff11
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
67 deletions
+3
-67
download.lst
download.lst
+2
-2
ExternalPackage_libodfgen.mk
external/libodfgen/ExternalPackage_libodfgen.mk
+1
-1
UnpackedTarball_libodfgen.mk
external/libodfgen/UnpackedTarball_libodfgen.mk
+0
-4
ubsan.patch
external/libodfgen/ubsan.patch
+0
-60
No files found.
download.lst
Dosyayı görüntüle @
4578ed5b
...
...
@@ -108,8 +108,8 @@ export MYSQLCPPCONN_TARBALL := 7239a4430efd4d0189c4f24df67f08e5-mysql-connector-
export MYTHES_TARBALL := a8c2c5b8f09e7ede322d5c602ff6a4b6-mythes-1.2.4.tar.gz
export NEON_TARBALL := ff369e69ef0f0143beb5626164e87ae2-neon-0.29.5.tar.gz
export NSS_TARBALL := b279551b7638d0e36d1199548124c247-nss-3.16.5-with-nspr-4.10.6.tar.gz
export ODFGEN_MD5SUM :=
c22c83c17cda0754382ada4e116594b7
export ODFGEN_TARBALL := libodfgen-0.1.
1
.tar.bz2
export ODFGEN_MD5SUM :=
b261066a880ba4ad2d79c9291c8037af
export ODFGEN_TARBALL := libodfgen-0.1.
2
.tar.bz2
export OPENCOLLADA_MD5SUM := 4ca8a6ef0afeefc864e9ef21b9f14bd6
export OPENCOLLADA_TARBALL := OpenCOLLADA-master-6509aa13af.tar.bz2
export OPENLDAP_TARBALL := 804c6cb5698db30b75ad0ff1c25baefd-openldap-2.4.31.tgz
...
...
external/libodfgen/ExternalPackage_libodfgen.mk
Dosyayı görüntüle @
4578ed5b
...
...
@@ -16,7 +16,7 @@ $(eval $(call gb_ExternalPackage_add_file,libodfgen,$(LIBO_LIB_FOLDER)/libodfgen
else ifeq ($(OS),WNT)
$(eval $(call gb_ExternalPackage_add_file,libodfgen,$(LIBO_LIB_FOLDER)/libodfgen-0.1.dll,src/.libs/libodfgen-0.1.dll))
else ifeq ($(filter IOS ANDROID,$(OS)),)
$(eval $(call gb_ExternalPackage_add_file,libodfgen,$(LIBO_LIB_FOLDER)/libodfgen-0.1.so.1,src/.libs/libodfgen-0.1.so.1.0.
1
))
$(eval $(call gb_ExternalPackage_add_file,libodfgen,$(LIBO_LIB_FOLDER)/libodfgen-0.1.so.1,src/.libs/libodfgen-0.1.so.1.0.
2
))
endif
# vim: set noet sw=4 ts=4:
external/libodfgen/UnpackedTarball_libodfgen.mk
Dosyayı görüntüle @
4578ed5b
...
...
@@ -13,8 +13,4 @@ $(eval $(call gb_UnpackedTarball_set_tarball,libodfgen,$(ODFGEN_TARBALL)))
$(eval $(call gb_UnpackedTarball_set_patchlevel,libodfgen,0))
$(eval $(call gb_UnpackedTarball_add_patches,libodfgen, \
external/libodfgen/ubsan.patch \
))
# vim: set noet sw=4 ts=4:
external/libodfgen/ubsan.patch
deleted
100644 → 0
Dosyayı görüntüle @
4c78ff11
See <https://sourceforge.net/p/libwpd/tickets/2/attachment/0001-Avoid-undefined-behavior-casts-from-potentially-nega.patch>:
--- src/GraphicFunctions.cxx
+++ src/GraphicFunctions.cxx
@@ -448,42 +448,42 @@
// 2540 is 2.54*1000, 2.54 in = 1 inch
if (path[i]["svg:x"] && action[0] == 'H')
{
- sElement.sprintf("H%i", (unsigned)((getInchValue(path[i]["svg:x"])-px)*2540));
+ sElement.sprintf("H%i", (int)((getInchValue(path[i]["svg:x"])-px)*2540));
sValue.append(sElement);
}
else if (path[i]["svg:y"] && action[0] == 'V')
{
- sElement.sprintf("V%i", (unsigned)((getInchValue(path[i]["svg:y"])-py)*2540));
+ sElement.sprintf("V%i", (int)((getInchValue(path[i]["svg:y"])-py)*2540));
sValue.append(sElement);
}
else if (coordOk && (action[0] == 'M' || action[0] == 'L' || action[0] == 'T'))
{
- sElement.sprintf("%c%i %i", action[0], (unsigned)((getInchValue(path[i]["svg:x"])-px)*2540),
- (unsigned)((getInchValue(path[i]["svg:y"])-py)*2540));
+ sElement.sprintf("%c%i %i", action[0], (int)((getInchValue(path[i]["svg:x"])-px)*2540),
+ (int)((getInchValue(path[i]["svg:y"])-py)*2540));
sValue.append(sElement);
}
else if (coord1Ok && (action[0] == 'Q' || action[0] == 'S'))
{
- sElement.sprintf("%c%i %i %i %i", action[0], (unsigned)((getInchValue(path[i]["svg:x1"])-px)*2540),
- (unsigned)((getInchValue(path[i]["svg:y1"])-py)*2540), (unsigned)((getInchValue(path[i]["svg:x"])-px)*2540),
- (unsigned)((getInchValue(path[i]["svg:y"])-py)*2540));
+ sElement.sprintf("%c%i %i %i %i", action[0], (int)((getInchValue(path[i]["svg:x1"])-px)*2540),
+ (int)((getInchValue(path[i]["svg:y1"])-py)*2540), (int)((getInchValue(path[i]["svg:x"])-px)*2540),
+ (int)((getInchValue(path[i]["svg:y"])-py)*2540));
sValue.append(sElement);
}
else if (coord2Ok && action[0] == 'C')
{
- sElement.sprintf("C%i %i %i %i %i %i", (unsigned)((getInchValue(path[i]["svg:x1"])-px)*2540),
- (unsigned)((getInchValue(path[i]["svg:y1"])-py)*2540), (unsigned)((getInchValue(path[i]["svg:x2"])-px)*2540),
- (unsigned)((getInchValue(path[i]["svg:y2"])-py)*2540), (unsigned)((getInchValue(path[i]["svg:x"])-px)*2540),
- (unsigned)((getInchValue(path[i]["svg:y"])-py)*2540));
+ sElement.sprintf("C%i %i %i %i %i %i", (int)((getInchValue(path[i]["svg:x1"])-px)*2540),
+ (int)((getInchValue(path[i]["svg:y1"])-py)*2540), (int)((getInchValue(path[i]["svg:x2"])-px)*2540),
+ (int)((getInchValue(path[i]["svg:y2"])-py)*2540), (int)((getInchValue(path[i]["svg:x"])-px)*2540),
+ (int)((getInchValue(path[i]["svg:y"])-py)*2540));
sValue.append(sElement);
}
else if (coordOk && path[i]["svg:rx"] && path[i]["svg:ry"] && action[0] == 'A')
{
- sElement.sprintf("A%i %i %i %i %i %i %i", (unsigned)((getInchValue(path[i]["svg:rx"]))*2540),
- (unsigned)((getInchValue(path[i]["svg:ry"]))*2540), (path[i]["librevenge:rotate"] ? path[i]["librevenge:rotate"]->getInt() : 0),
+ sElement.sprintf("A%i %i %i %i %i %i %i", (int)((getInchValue(path[i]["svg:rx"]))*2540),
+ (int)((getInchValue(path[i]["svg:ry"]))*2540), (path[i]["librevenge:rotate"] ? path[i]["librevenge:rotate"]->getInt() : 0),
(path[i]["librevenge:large-arc"] ? path[i]["librevenge:large-arc"]->getInt() : 1),
(path[i]["librevenge:sweep"] ? path[i]["librevenge:sweep"]->getInt() : 1),
- (unsigned)((getInchValue(path[i]["svg:x"])-px)*2540), (unsigned)((getInchValue(path[i]["svg:y"])-py)*2540));
+ (int)((getInchValue(path[i]["svg:x"])-px)*2540), (int)((getInchValue(path[i]["svg:y"])-py)*2540));
sValue.append(sElement);
}
else if (action[0] == 'Z')
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