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
cc2db256
Kaydet (Commit)
cc2db256
authored
Haz 06, 2017
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
libstaroffice: use correct loop index
Change-Id: I1b862ed2d69c41361bc8c26d96c5329473fe64aa
üst
707eb4db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
0001-ofz-1029-use-correct-loop-index.patch.1
...ibstaroffice/0001-ofz-1029-use-correct-loop-index.patch.1
+27
-0
UnpackedTarball_libstaroffice.mk
external/libstaroffice/UnpackedTarball_libstaroffice.mk
+1
-0
No files found.
external/libstaroffice/0001-ofz-1029-use-correct-loop-index.patch.1
0 → 100644
Dosyayı görüntüle @
cc2db256
From 2d6253c7a692a3d92785dd990fce7256ea05e794 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Fri, 7 Apr 2017 19:28:55 +0200
Subject: [PATCH] ofz#1029 use correct loop index
To be honest, I think this would be clearer as two separate reads to two
separate vars...
---
src/lib/StarWriterStruct.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/StarWriterStruct.cxx b/src/lib/StarWriterStruct.cxx
index 5893302..d1ad366 100644
--- a/src/lib/StarWriterStruct.cxx
+++ b/src/lib/StarWriterStruct.cxx
@@ -327,7 +327,7 @@ bool DatabaseName::read(StarZone &zone)
}
data.m_name=libstoff::getString(text);
int positions[2];
- for (int j=0; j<2; ++j) positions[i]=int(input->readULong(4));
+ for (int j=0; j<2; ++j) positions[j]=int(input->readULong(4));
data.m_selection=STOFFVec2i(positions[0],positions[1]);
m_dataList.push_back(data);
}
--
2.13.0
external/libstaroffice/UnpackedTarball_libstaroffice.mk
Dosyayı görüntüle @
cc2db256
...
...
@@ -36,6 +36,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,libstaroffice, \
endif
$(eval $(call gb_UnpackedTarball_add_patches,libstaroffice, \
external/libstaroffice/0001-ofz-1029-use-correct-loop-index.patch.1 \
))
# vim: set noet sw=4 ts=4:
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