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
223fb84c
Kaydet (Commit)
223fb84c
authored
Ara 03, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
no inheritance so no virtual needed
Change-Id: Ia6c481bbf5353db4c2801a53ae1455534c6978bd
üst
4afa538b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
fastparser.cxx
sax/source/fastparser/fastparser.cxx
+15
-15
No files found.
sax/source/fastparser/fastparser.cxx
Dosyayı görüntüle @
223fb84c
...
...
@@ -194,25 +194,25 @@ class FastSaxParserImpl
{
public
:
FastSaxParserImpl
(
FastSaxParser
*
pFront
);
virtual
~
FastSaxParserImpl
();
~
FastSaxParserImpl
();
// The implementation details
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
getSupportedServiceNames_Static
(
void
);
// XFastParser
void
SAL_CALL
parseStream
(
const
::
com
::
sun
::
star
::
xml
::
sax
::
InputSource
&
aInputSource
)
throw
(
::
com
::
sun
::
star
::
xml
::
sax
::
SAXException
,
::
com
::
sun
::
star
::
io
::
IOException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
SAL_CALL
setFastDocumentHandler
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XFastDocumentHandler
>&
Handler
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
SAL_CALL
setTokenHandler
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XFastTokenHandler
>&
Handler
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
SAL_CALL
registerNamespace
(
const
OUString
&
NamespaceURL
,
sal_Int32
NamespaceToken
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
OUString
SAL_CALL
getNamespaceURL
(
const
OUString
&
rPrefix
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
SAL_CALL
setErrorHandler
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XErrorHandler
>&
Handler
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
SAL_CALL
setEntityResolver
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XEntityResolver
>&
Resolver
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
SAL_CALL
setLocale
(
const
::
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
parseStream
(
const
::
com
::
sun
::
star
::
xml
::
sax
::
InputSource
&
aInputSource
)
throw
(
::
com
::
sun
::
star
::
xml
::
sax
::
SAXException
,
::
com
::
sun
::
star
::
io
::
IOException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
setFastDocumentHandler
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XFastDocumentHandler
>&
Handler
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
setTokenHandler
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XFastTokenHandler
>&
Handler
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
registerNamespace
(
const
OUString
&
NamespaceURL
,
sal_Int32
NamespaceToken
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
OUString
getNamespaceURL
(
const
OUString
&
rPrefix
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
setErrorHandler
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XErrorHandler
>&
Handler
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
setEntityResolver
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XEntityResolver
>&
Resolver
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
setLocale
(
const
::
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
// XServiceInfo
virtual
OUString
SAL_CALL
getImplementationName
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
sal_Bool
SAL_CALL
supportsService
(
const
OUString
&
ServiceName
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
OUString
getImplementationName
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
sal_Bool
supportsService
(
const
OUString
&
ServiceName
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
// called by the C callbacks of the expat parser
void
callbackStartElement
(
const
XML_Char
*
name
,
const
XML_Char
**
atts
);
...
...
@@ -824,13 +824,13 @@ void FastSaxParserImpl::setFastDocumentHandler( const Reference< XFastDocumentHa
maData
.
mxDocumentHandler
=
Handler
;
}
void
SAL_CALL
FastSaxParserImpl
::
setTokenHandler
(
const
Reference
<
XFastTokenHandler
>&
xHandler
)
throw
(
RuntimeException
)
void
FastSaxParserImpl
::
setTokenHandler
(
const
Reference
<
XFastTokenHandler
>&
xHandler
)
throw
(
RuntimeException
)
{
maData
.
mxTokenHandler
=
xHandler
;
maData
.
mpTokenHandler
=
dynamic_cast
<
FastTokenHandlerBase
*>
(
xHandler
.
get
()
);
}
void
SAL_CALL
FastSaxParserImpl
::
registerNamespace
(
const
OUString
&
NamespaceURL
,
sal_Int32
NamespaceToken
)
throw
(
IllegalArgumentException
,
RuntimeException
)
void
FastSaxParserImpl
::
registerNamespace
(
const
OUString
&
NamespaceURL
,
sal_Int32
NamespaceToken
)
throw
(
IllegalArgumentException
,
RuntimeException
)
{
if
(
NamespaceToken
>=
FastToken
::
NAMESPACE
)
{
...
...
@@ -843,7 +843,7 @@ void SAL_CALL FastSaxParserImpl::registerNamespace( const OUString& NamespaceURL
throw
IllegalArgumentException
();
}
OUString
SAL_CALL
FastSaxParserImpl
::
getNamespaceURL
(
const
OUString
&
rPrefix
)
throw
(
IllegalArgumentException
,
RuntimeException
)
OUString
FastSaxParserImpl
::
getNamespaceURL
(
const
OUString
&
rPrefix
)
throw
(
IllegalArgumentException
,
RuntimeException
)
{
try
{
...
...
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