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
15cbc3e5
Kaydet (Commit)
15cbc3e5
authored
Eki 16, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Unwind useless comphelper::ByteSequence typedef
Change-Id: I59317a0d591eac188fa01636031e907357038c29
üst
22fbb71b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
seqstream.cxx
comphelper/source/streaming/seqstream.cxx
+2
-1
seqstream.hxx
include/comphelper/seqstream.hxx
+2
-4
WPXSvStreamTest.cxx
writerperfect/qa/unit/WPXSvStreamTest.cxx
+1
-1
No files found.
comphelper/source/streaming/seqstream.cxx
Dosyayı görüntüle @
15cbc3e5
...
...
@@ -33,7 +33,8 @@ using namespace ::osl;
//---------------------------------------------------------------------------------------------
//------------------------------------------------------------------
SequenceInputStream
::
SequenceInputStream
(
const
ByteSequence
&
rData
)
SequenceInputStream
::
SequenceInputStream
(
css
::
uno
::
Sequence
<
sal_Int8
>
const
&
rData
)
:
m_aData
(
rData
)
,
m_nPos
(
0
)
{
...
...
include/comphelper/seqstream.hxx
Dosyayı görüntüle @
15cbc3e5
...
...
@@ -32,8 +32,6 @@
namespace
comphelper
{
typedef
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
ByteSequence
;
//==================================================================
// SequenceInputStream
// stream for reading data from a sequence of bytes
...
...
@@ -44,11 +42,11 @@ class COMPHELPER_DLLPUBLIC SequenceInputStream
:
public
::
cppu
::
WeakImplHelper2
<
::
com
::
sun
::
star
::
io
::
XInputStream
,
::
com
::
sun
::
star
::
io
::
XSeekable
>
{
::
osl
::
Mutex
m_aMutex
;
ByteSequence
m_aData
;
css
::
uno
::
Sequence
<
sal_Int8
>
m_aData
;
sal_Int32
m_nPos
;
public
:
SequenceInputStream
(
c
onst
ByteSequence
&
rData
);
SequenceInputStream
(
c
ss
::
uno
::
Sequence
<
sal_Int8
>
const
&
rData
);
// com::sun::star::io::XInputStream
virtual
sal_Int32
SAL_CALL
readBytes
(
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>&
aData
,
sal_Int32
nBytesToRead
)
...
...
writerperfect/qa/unit/WPXSvStreamTest.cxx
Dosyayı görüntüle @
15cbc3e5
...
...
@@ -59,7 +59,7 @@ shared_ptr<WPXInputStream> lcl_createStream()
{
using
comphelper
::
SequenceInputStream
;
const
c
omphelper
::
ByteSequence
aData
(
reinterpret_cast
<
const
sal_Int8
*>
(
aText
),
sizeof
aText
);
const
c
ss
::
uno
::
Sequence
<
sal_Int8
>
aData
(
reinterpret_cast
<
const
sal_Int8
*>
(
aText
),
sizeof
aText
);
const
uno
::
Reference
<
io
::
XInputStream
>
xInputStream
(
new
SequenceInputStream
(
aData
));
shared_ptr
<
WPXInputStream
>
pInputStream
;
...
...
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