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
6a1f3189
Kaydet (Commit)
6a1f3189
authored
Tem 17, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
in remainingSize consider that its is possible to seek past the end
Change-Id: I1652244d5515629f1cd8f15f4c5b15f139dba0aa
üst
c9ba7a2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
hang-4.tiff
filter/qa/cppunit/data/tiff/fail/hang-4.tiff
+0
-0
stream.cxx
tools/source/stream/stream.cxx
+1
-1
No files found.
filter/qa/cppunit/data/tiff/fail/hang-4.tiff
0 → 100644
Dosyayı görüntüle @
6a1f3189
43 Bytes
tools/source/stream/stream.cxx
Dosyayı görüntüle @
6a1f3189
...
...
@@ -1453,7 +1453,7 @@ sal_uInt64 SvStream::remainingSize()
{
sal_uInt64
const
nCurr
=
Tell
();
sal_uInt64
const
nEnd
=
Seek
(
STREAM_SEEK_TO_END
);
sal_uInt64
nMaxAvailable
=
nEnd
-
nCurr
;
sal_uInt64
nMaxAvailable
=
nEnd
>
nCurr
?
(
nEnd
-
nCurr
)
:
0
;
Seek
(
nCurr
);
return
nMaxAvailable
;
}
...
...
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