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
9decde00
Kaydet (Commit)
9decde00
authored
Kas 11, 2012
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sax: FastSaxSerializer: cannot do anything without a stream
Change-Id: If2fbfe776039fe1a3104d541279ab52f219f45bf
üst
0c220608
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
fastserializer.cxx
sax/source/tools/fastserializer.cxx
+2
-0
No files found.
sax/source/tools/fastserializer.cxx
Dosyayı görüntüle @
9decde00
...
...
@@ -73,6 +73,7 @@ namespace sax_fastparser {
void
SAL_CALL
FastSaxSerializer
::
startDocument
(
)
throw
(
SAXException
,
RuntimeException
)
{
assert
(
mxOutputStream
.
is
());
// cannot do anything without that
if
(
!
mxOutputStream
.
is
())
return
;
rtl
::
ByteSequence
aXmlHeader
((
const
sal_Int8
*
)
"<?xml version=
\"
1.0
\"
encoding=
\"
UTF-8
\"
standalone=
\"
yes
\"
?>
\n
"
,
56
);
...
...
@@ -186,6 +187,7 @@ namespace sax_fastparser {
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
mxOutputStream
=
xOutputStream
;
assert
(
mxOutputStream
.
is
());
// cannot do anything without that
}
void
SAL_CALL
FastSaxSerializer
::
setFastTokenHandler
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XFastTokenHandler
>&
xFastTokenHandler
)
...
...
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