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
e54b9740
Kaydet (Commit)
e54b9740
authored
Şub 01, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:unreffun
Change-Id: Iaf75d9570c2091365a16e13119e4515957a86551
üst
ca5479fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
strmadpt.cxx
svl/source/misc/strmadpt.cxx
+0
-22
No files found.
svl/source/misc/strmadpt.cxx
Dosyayı görüntüle @
e54b9740
...
@@ -90,9 +90,6 @@ public:
...
@@ -90,9 +90,6 @@ public:
inline
bool
isEOF
()
const
;
inline
bool
isEOF
()
const
;
bool
addMark
(
sal_uInt32
nPosition
);
bool
removeMark
(
sal_uInt32
nPosition
);
SeekResult
setReadPosition
(
sal_uInt32
nPosition
);
SeekResult
setReadPosition
(
sal_uInt32
nPosition
);
};
};
...
@@ -745,25 +742,6 @@ sal_uInt32 SvDataPipe_Impl::write(sal_Int8 const * pBuffer, sal_uInt32 nSize)
...
@@ -745,25 +742,6 @@ sal_uInt32 SvDataPipe_Impl::write(sal_Int8 const * pBuffer, sal_uInt32 nSize)
return
nSize
-
nRemain
;
return
nSize
-
nRemain
;
}
}
bool
SvDataPipe_Impl
::
addMark
(
sal_uInt32
nPosition
)
{
if
(
m_pFirstPage
!=
0
&&
m_pFirstPage
->
m_nOffset
>
nPosition
)
return
false
;
m_aMarks
.
insert
(
nPosition
);
return
true
;
}
bool
SvDataPipe_Impl
::
removeMark
(
sal_uInt32
nPosition
)
{
std
::
multiset
<
sal_uInt32
>::
iterator
t
=
m_aMarks
.
find
(
nPosition
);
if
(
t
==
m_aMarks
.
end
())
return
false
;
m_aMarks
.
erase
(
t
);
// coverity[pass_freed_arg] - remove frees m_pFirstPage but then sets m_pFirstPage to something else
while
(
remove
(
m_pFirstPage
))
;
return
true
;
}
SvDataPipe_Impl
::
SeekResult
SvDataPipe_Impl
::
setReadPosition
(
sal_uInt32
SvDataPipe_Impl
::
SeekResult
SvDataPipe_Impl
::
setReadPosition
(
sal_uInt32
nPosition
)
nPosition
)
{
{
...
...
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