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
4e3cf9cd
Kaydet (Commit)
4e3cf9cd
authored
Mar 30, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
MSVC helpfully provides warning C4310: cast truncates constant value
Change-Id: I985216d7bade6cbb3a037b07fe44438543d63ba0
üst
0dd6d4ed
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
iosys.cxx
basic/source/runtime/iosys.cxx
+1
-1
stgstrms.cxx
sot/source/sdstor/stgstrms.cxx
+1
-1
ucbstorage.cxx
sot/source/sdstor/ucbstorage.cxx
+1
-1
strmadpt.cxx
svl/source/misc/strmadpt.cxx
+2
-2
stream.cxx
tools/source/stream/stream.cxx
+3
-3
strmwnt.cxx
tools/source/stream/strmwnt.cxx
+1
-1
No files found.
basic/source/runtime/iosys.cxx
Dosyayı görüntüle @
4e3cf9cd
...
...
@@ -375,7 +375,7 @@ sal_uInt64 OslStream::SeekPos( sal_uInt64 nPos )
{
::
osl
::
FileBase
::
RC
rc
=
::
osl
::
FileBase
::
E_None
;
// check if a truncated STREAM_SEEK_TO_END was passed
assert
(
nPos
!=
(
sal_uInt64
)(
sal_uInt32
)
STREAM_SEEK_TO_END
);
assert
(
nPos
!=
SAL_MAX_UINT32
);
if
(
nPos
==
STREAM_SEEK_TO_END
)
{
rc
=
maFile
.
setPos
(
osl_Pos_End
,
0
);
...
...
sot/source/sdstor/stgstrms.cxx
Dosyayı görüntüle @
4e3cf9cd
...
...
@@ -1284,7 +1284,7 @@ sal_uLong StgTmpStrm::PutData( const void* pData, sal_uLong n )
sal_uInt64
StgTmpStrm
::
SeekPos
(
sal_uInt64
n
)
{
// check if a truncated STREAM_SEEK_TO_END was passed
assert
(
n
!=
(
sal_uInt64
)(
sal_uInt32
)
STREAM_SEEK_TO_END
);
assert
(
n
!=
SAL_MAX_UINT32
);
if
(
n
==
STREAM_SEEK_TO_END
)
n
=
GetSize
();
if
(
n
&&
n
>
THRESHOLD
&&
!
pStrm
)
...
...
sot/source/sdstor/ucbstorage.cxx
Dosyayı görüntüle @
4e3cf9cd
...
...
@@ -942,7 +942,7 @@ sal_uLong UCBStorageStream_Impl::PutData( const void* pData, sal_uLong nSize )
sal_uInt64
UCBStorageStream_Impl
::
SeekPos
(
sal_uInt64
const
nPos
)
{
// check if a truncated STREAM_SEEK_TO_END was passed
assert
(
nPos
!=
(
sal_uInt64
)(
sal_uInt32
)
STREAM_SEEK_TO_END
);
assert
(
nPos
!=
SAL_MAX_UINT32
);
if
(
!
Init
()
)
return
0
;
...
...
svl/source/misc/strmadpt.cxx
Dosyayı görüntüle @
4e3cf9cd
...
...
@@ -449,7 +449,7 @@ sal_uLong SvInputStream::GetData(void * pData, sal_uLong nSize)
return
0
;
}
// check if a truncated STREAM_SEEK_TO_END was passed
assert
(
m_nSeekedFrom
!=
(
sal_uInt64
)(
sal_uInt32
)
STREAM_SEEK_TO_END
);
assert
(
m_nSeekedFrom
!=
SAL_MAX_UINT32
);
sal_uInt32
nRead
=
0
;
if
(
m_xSeekable
.
is
())
{
...
...
@@ -551,7 +551,7 @@ void SvInputStream::FlushData()
sal_uInt64
SvInputStream
::
SeekPos
(
sal_uInt64
const
nPos
)
{
// check if a truncated STREAM_SEEK_TO_END was passed
assert
(
nPos
!=
(
sal_uInt64
)(
sal_uInt32
)
STREAM_SEEK_TO_END
);
assert
(
nPos
!=
SAL_MAX_UINT32
);
if
(
open
())
{
if
(
nPos
==
STREAM_SEEK_TO_END
)
...
...
tools/source/stream/stream.cxx
Dosyayı görüntüle @
4e3cf9cd
...
...
@@ -309,7 +309,7 @@ ErrCode SvAsyncLockBytes::FillAppend(const void * pBuffer, sal_Size nCount,
sal_uInt64
SvAsyncLockBytes
::
Seek
(
sal_uInt64
const
nPos
)
{
// check if a truncated STREAM_SEEK_TO_END was passed
assert
(
nPos
!=
(
sal_uInt64
)(
sal_uInt32
)
STREAM_SEEK_TO_END
);
assert
(
nPos
!=
SAL_MAX_UINT32
);
if
(
nPos
!=
STREAM_SEEK_TO_END
)
m_nSize
=
nPos
;
return
m_nSize
;
...
...
@@ -346,7 +346,7 @@ sal_Size SvStream::PutData( const void* pData, sal_Size nSize )
sal_uInt64
SvStream
::
SeekPos
(
sal_uInt64
const
nPos
)
{
// check if a truncated STREAM_SEEK_TO_END was passed
assert
(
nPos
!=
(
sal_uInt64
)(
sal_uInt32
)
STREAM_SEEK_TO_END
);
assert
(
nPos
!=
SAL_MAX_UINT32
);
if
(
!
GetError
()
&&
nPos
==
STREAM_SEEK_TO_END
)
{
DBG_ASSERT
(
xLockBytes
.
Is
(),
"pure virtual function"
);
...
...
@@ -1843,7 +1843,7 @@ sal_uInt64 SvMemoryStream::SeekPos(sal_uInt64 const nNewPos)
// nSize: Size of allocated buffer
// check if a truncated STREAM_SEEK_TO_END was passed
assert
(
nNewPos
!=
(
sal_uInt64
)(
sal_uInt32
)
STREAM_SEEK_TO_END
);
assert
(
nNewPos
!=
SAL_MAX_UINT32
);
if
(
nNewPos
<
nEndOfData
)
nPos
=
nNewPos
;
else
if
(
nNewPos
==
STREAM_SEEK_TO_END
)
...
...
tools/source/stream/strmwnt.cxx
Dosyayı görüntüle @
4e3cf9cd
...
...
@@ -163,7 +163,7 @@ sal_Size SvFileStream::PutData( const void* pData, sal_Size nSize )
sal_uInt64
SvFileStream
::
SeekPos
(
sal_uInt64
const
nPos
)
{
// check if a truncated STREAM_SEEK_TO_END was passed
assert
(
nPos
!=
(
sal_uInt64
)(
sal_uInt32
)
STREAM_SEEK_TO_END
);
assert
(
nPos
!=
SAL_MAX_UINT32
);
DWORD
nNewPos
=
0
;
if
(
IsOpen
()
)
{
...
...
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