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
b13c8de2
Kaydet (Commit)
b13c8de2
authored
Eki 21, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
FastTokenHandler service should apparently have a default constructor
Change-Id: Iad5c4e05832128b5f41860cc4ae96f0472c37491
üst
aeac6444
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
12 deletions
+6
-12
FastTokenHandler.idl
offapi/com/sun/star/xml/sax/FastTokenHandler.idl
+1
-3
parser.cxx
sax/qa/cppunit/parser.cxx
+3
-6
fshelper.cxx
sax/source/tools/fshelper.cxx
+2
-3
No files found.
offapi/com/sun/star/xml/sax/FastTokenHandler.idl
Dosyayı görüntüle @
b13c8de2
...
...
@@ -24,9 +24,7 @@
module
com
{
module
sun
{
module
star
{
module
xml
{
module
sax
{
service
FastTokenHandler
:
XFastTokenHandler
{
}
;
service
FastTokenHandler
:
XFastTokenHandler
;
}
; }; }; }; };
...
...
sax/qa/cppunit/parser.cxx
Dosyayı görüntüle @
b13c8de2
...
...
@@ -10,9 +10,9 @@
#include <sal/config.h>
#include <com/sun/star/io/Pipe.hpp>
#include <com/sun/star/xml/sax/FastTokenHandler.hpp>
#include <com/sun/star/xml/sax/SAXParseException.hpp>
#include <com/sun/star/xml/sax/XFastParser.hpp>
#include <com/sun/star/xml/sax/XFastTokenHandler.hpp>
#include <test/bootstrapfixture.hxx>
#include <comphelper/componentcontext.hxx>
...
...
@@ -26,7 +26,6 @@ class ParserTest: public test::BootstrapFixture
{
InputSource
maInput
;
uno
::
Reference
<
XFastParser
>
mxParser
;
uno
::
Reference
<
XFastTokenHandler
>
mxTokenHandler
;
uno
::
Reference
<
XFastDocumentHandler
>
mxDocumentHandler
;
public
:
...
...
@@ -49,10 +48,8 @@ void ParserTest::setUp()
mxParser
.
set
(
comphelper
::
ComponentContext
(
m_xContext
).
createComponent
(
"com.sun.star.xml.sax.FastParser"
),
uno
::
UNO_QUERY
);
CPPUNIT_ASSERT_MESSAGE
(
"No FastParser!"
,
mxParser
.
is
());
mxTokenHandler
.
set
(
comphelper
::
ComponentContext
(
m_xContext
).
createComponent
(
"com.sun.star.xml.sax.FastTokenHandler"
),
uno
::
UNO_QUERY
);
CPPUNIT_ASSERT_MESSAGE
(
"No TokenHandler!"
,
mxTokenHandler
.
is
());
mxParser
->
setTokenHandler
(
mxTokenHandler
);
mxParser
->
setTokenHandler
(
css
::
xml
::
sax
::
FastTokenHandler
::
create
(
m_xContext
));
}
void
ParserTest
::
tearDown
()
...
...
sax/source/tools/fshelper.cxx
Dosyayı görüntüle @
b13c8de2
...
...
@@ -19,7 +19,7 @@
#include <sax/fshelper.hxx>
#include "fastserializer.hxx"
#include <com/sun/star/xml/sax/
X
FastTokenHandler.hpp>
#include <com/sun/star/xml/sax/FastTokenHandler.hpp>
#include <comphelper/processfactory.hxx>
#include <rtl/ustrbuf.hxx>
...
...
@@ -32,8 +32,7 @@ FastSerializerHelper::FastSerializerHelper(const Reference< io::XOutputStream >&
mpSerializer
(
new
FastSaxSerializer
())
{
Reference
<
XComponentContext
>
xContext
(
::
comphelper
::
getProcessComponentContext
(),
UNO_SET_THROW
);
Reference
<
lang
::
XMultiComponentFactory
>
xFactory
(
xContext
->
getServiceManager
(),
UNO_SET_THROW
);
mxTokenHandler
.
set
(
xFactory
->
createInstanceWithContext
(
"com.sun.star.xml.sax.FastTokenHandler"
,
xContext
),
UNO_QUERY_THROW
);
mxTokenHandler
=
css
::
xml
::
sax
::
FastTokenHandler
::
create
(
xContext
);
mpSerializer
->
setFastTokenHandler
(
mxTokenHandler
);
mpSerializer
->
setOutputStream
(
xOutputStream
);
...
...
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