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
2a4c55f6
Kaydet (Commit)
2a4c55f6
authored
Tem 16, 2013
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bnc#829017 fix issue with negative seeks in win32 shell extension
Change-Id: Ia8072f78ad43281e406377922f50f8de53194f1b
üst
9a9bf62c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
stream_helper.hxx
shell/inc/internal/stream_helper.hxx
+2
-2
types.hxx
shell/inc/internal/types.hxx
+1
-1
stream_helper.cxx
shell/source/win32/shlxthandler/ooofilt/stream_helper.cxx
+2
-2
No files found.
shell/inc/internal/stream_helper.hxx
Dosyayı görüntüle @
2a4c55f6
...
...
@@ -31,7 +31,7 @@ public:
~
BufferStream
();
unsigned
long
sread
(
unsigned
char
*
vuf
,
unsigned
long
size
);
long
stell
();
long
sseek
(
unsigned
long
offset
,
int
origin
);
long
sseek
(
long
offset
,
int
origin
);
private
:
IStream
*
stream
;
};
...
...
@@ -43,7 +43,7 @@ public:
~
FileStream
();
unsigned
long
sread
(
unsigned
char
*
buf
,
unsigned
long
size
);
long
stell
();
long
sseek
(
unsigned
long
offset
,
int
origin
);
long
sseek
(
long
offset
,
int
origin
);
private
:
FILE
*
file
;
};
...
...
shell/inc/internal/types.hxx
Dosyayı görüntüle @
2a4c55f6
...
...
@@ -78,7 +78,7 @@ public:
virtual
~
StreamInterface
()
{}
virtual
unsigned
long
sread
(
unsigned
char
*
vuf
,
unsigned
long
size
)
=
0
;
virtual
long
stell
()
=
0
;
virtual
long
sseek
(
unsigned
long
offset
,
int
origin
)
=
0
;
virtual
long
sseek
(
long
offset
,
int
origin
)
=
0
;
};
#endif
...
...
shell/source/win32/shlxthandler/ooofilt/stream_helper.cxx
Dosyayı görüntüle @
2a4c55f6
...
...
@@ -74,7 +74,7 @@ long BufferStream::stell ()
return
-
1
;
}
long
BufferStream
::
sseek
(
unsigned
long
offset
,
int
origin
)
long
BufferStream
::
sseek
(
long
offset
,
int
origin
)
{
HRESULT
hr
;
LARGE_INTEGER
Move
;
...
...
@@ -129,7 +129,7 @@ long FileStream::stell ()
return
-
1L
;
}
long
FileStream
::
sseek
(
unsigned
long
offset
,
int
origin
)
long
FileStream
::
sseek
(
long
offset
,
int
origin
)
{
if
(
file
)
return
fseek
(
file
,
offset
,
origin
);
...
...
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