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
655a39d8
Kaydet (Commit)
655a39d8
authored
Mar 28, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
basic: for PutData()/GetData() actually 32bits should be enough
Change-Id: I3c605a1e5b46d262ff557dac280b15136467b906
üst
2ec45841
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
iosys.cxx
basic/source/runtime/iosys.cxx
+10
-10
No files found.
basic/source/runtime/iosys.cxx
Dosyayı görüntüle @
655a39d8
...
...
@@ -313,8 +313,8 @@ class OslStream : public SvStream
public
:
OslStream
(
const
OUString
&
rName
,
short
nStrmMode
);
~
OslStream
();
virtual
sal_
uInt64
GetData
(
void
*
pData
,
sal_uInt64
nSize
)
SAL_OVERRIDE
;
virtual
sal_
uInt64
PutData
(
const
void
*
pData
,
sal_uInt64
nSize
)
SAL_OVERRIDE
;
virtual
sal_
Size
GetData
(
void
*
pData
,
sal_Size
nSize
)
SAL_OVERRIDE
;
virtual
sal_
Size
PutData
(
const
void
*
pData
,
sal_Size
nSize
)
SAL_OVERRIDE
;
virtual
sal_uInt64
SeekPos
(
sal_uInt64
nPos
)
SAL_OVERRIDE
;
virtual
void
FlushData
()
SAL_OVERRIDE
;
virtual
void
SetSize
(
sal_uInt64
nSize
)
SAL_OVERRIDE
;
...
...
@@ -357,16 +357,16 @@ OslStream::~OslStream()
maFile
.
close
();
}
sal_
uInt64
OslStream
::
GetData
(
void
*
pData
,
sal_uInt64
nSize
)
sal_
Size
OslStream
::
GetData
(
void
*
pData
,
sal_Size
nSize
)
{
sal_
uInt64
nBytesRead
=
nSize
;
sal_
Size
nBytesRead
=
nSize
;
maFile
.
read
(
pData
,
nBytesRead
,
nBytesRead
);
return
nBytesRead
;
}
sal_
uInt64
OslStream
::
PutData
(
const
void
*
pData
,
sal_uInt64
nSize
)
sal_
Size
OslStream
::
PutData
(
const
void
*
pData
,
sal_Size
nSize
)
{
sal_
uInt64
nBytesWritten
;
sal_
Size
nBytesWritten
;
maFile
.
write
(
pData
,
nSize
,
nBytesWritten
);
return
nBytesWritten
;
}
...
...
@@ -407,8 +407,8 @@ public:
UCBStream
(
Reference
<
XInputStream
>
&
xIS
);
UCBStream
(
Reference
<
XStream
>
&
xS
);
~
UCBStream
();
virtual
sal_
uInt64
GetData
(
void
*
pData
,
sal_uInt64
nSize
)
SAL_OVERRIDE
;
virtual
sal_
uInt64
PutData
(
const
void
*
pData
,
sal_uInt64
nSize
)
SAL_OVERRIDE
;
virtual
sal_
Size
GetData
(
void
*
pData
,
sal_Size
nSize
)
SAL_OVERRIDE
;
virtual
sal_
Size
PutData
(
const
void
*
pData
,
sal_Size
nSize
)
SAL_OVERRIDE
;
virtual
sal_uInt64
SeekPos
(
sal_uInt64
nPos
)
SAL_OVERRIDE
;
virtual
void
FlushData
()
SAL_OVERRIDE
;
virtual
void
SetSize
(
sal_uInt64
nSize
)
SAL_OVERRIDE
;
...
...
@@ -450,7 +450,7 @@ UCBStream::~UCBStream()
}
}
sal_
uInt64
UCBStream
::
GetData
(
void
*
pData
,
sal_uInt64
nSize
)
sal_
Size
UCBStream
::
GetData
(
void
*
pData
,
sal_Size
nSize
)
{
try
{
...
...
@@ -481,7 +481,7 @@ sal_uInt64 UCBStream::GetData( void* pData, sal_uInt64 nSize )
return
0
;
}
sal_
uInt64
UCBStream
::
PutData
(
const
void
*
pData
,
sal_uInt64
nSize
)
sal_
Size
UCBStream
::
PutData
(
const
void
*
pData
,
sal_Size
nSize
)
{
try
{
...
...
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