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
d17279e6
Kaydet (Commit)
d17279e6
authored
Haz 22, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ditch unused stream operators
üst
f1251f68
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
61 deletions
+0
-61
ownlist.hxx
svl/inc/svl/ownlist.hxx
+0
-3
ownlist.cxx
svl/source/misc/ownlist.cxx
+0
-58
No files found.
svl/inc/svl/ownlist.hxx
Dosyayı görüntüle @
d17279e6
...
@@ -98,9 +98,6 @@ public:
...
@@ -98,9 +98,6 @@ public:
sal_Bool
FillFromSequence
(
const
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
beans
::
PropertyValue
>&
);
sal_Bool
FillFromSequence
(
const
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
beans
::
PropertyValue
>&
);
void
FillSequence
(
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
beans
::
PropertyValue
>&
);
void
FillSequence
(
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
beans
::
PropertyValue
>&
);
SVL_DLLPUBLIC
friend
SvStream
&
operator
>>
(
SvStream
&
rStm
,
SvCommandList
&
);
SVL_DLLPUBLIC
friend
SvStream
&
operator
<<
(
SvStream
&
,
const
SvCommandList
&
);
size_t
size
()
const
{
return
aCommandList
.
size
();
}
size_t
size
()
const
{
return
aCommandList
.
size
();
}
SvCommand
operator
[](
size_t
i
)
{
SvCommand
operator
[](
size_t
i
)
{
...
...
svl/source/misc/ownlist.cxx
Dosyayı görüntüle @
d17279e6
...
@@ -166,64 +166,6 @@ SvCommand & SvCommandList::Append
...
@@ -166,64 +166,6 @@ SvCommand & SvCommandList::Append
return
aCommandList
.
back
();
return
aCommandList
.
back
();
}
}
//=========================================================================
SvStream
&
operator
>>
(
SvStream
&
rStm
,
/* Stream aus dem gelesen wird */
SvCommandList
&
rThis
/* Die zu f"ullende Liste */
)
/* [Beschreibung]
Die Liste mit ihren Elementen wird gelesen. Das Format ist:
1. Anzahl der Elemente
2. Alle Elemente
[R"uckgabewert]
SvStream & Der "ubergebene Stream.
*/
{
sal_uInt32
nCount
=
0
;
rStm
>>
nCount
;
if
(
!
rStm
.
GetError
()
)
{
while
(
nCount
--
)
{
SvCommand
aCmd
;
rStm
>>
aCmd
;
rThis
.
aCommandList
.
push_back
(
aCmd
);
}
}
return
rStm
;
}
//=========================================================================
SvStream
&
operator
<<
(
SvStream
&
rStm
,
/* Stream in den geschrieben wird */
const
SvCommandList
&
rThis
/* Die zu schreibende Liste */
)
/* [Beschreibung]
Die Liste mit ihren Elementen wir geschrieben. Das Format ist:
1. Anzahl der Elemente
2. Alle Elemente
[R"uckgabewert]
SvStream & Der "ubergebene Stream.
*/
{
sal_uInt32
nCount
=
rThis
.
aCommandList
.
size
();
rStm
<<
nCount
;
for
(
sal_uInt32
i
=
0
;
i
<
nCount
;
i
++
)
{
rStm
<<
rThis
.
aCommandList
[
i
];
}
return
rStm
;
}
sal_Bool
SvCommandList
::
FillFromSequence
(
const
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
beans
::
PropertyValue
>&
aCommandSequence
)
sal_Bool
SvCommandList
::
FillFromSequence
(
const
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
beans
::
PropertyValue
>&
aCommandSequence
)
{
{
const
sal_Int32
nCount
=
aCommandSequence
.
getLength
();
const
sal_Int32
nCount
=
aCommandSequence
.
getLength
();
...
...
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