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
54ebae0e
Kaydet (Commit)
54ebae0e
authored
Mar 02, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
Mar 02, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove whitespaces
Change-Id: I624ca41c3e51ba785e359649c429feb61cc9a647
üst
b7381c51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
31 deletions
+0
-31
fastparser.cxx
sax/source/fastparser/fastparser.cxx
+0
-31
No files found.
sax/source/fastparser/fastparser.cxx
Dosyayı görüntüle @
54ebae0e
...
...
@@ -350,31 +350,24 @@ sal_Int32 SAL_CALL FastLocatorImpl::getColumnNumber(void) throw (RuntimeExceptio
return
XML_GetCurrentColumnNumber
(
mpParser
->
getEntity
().
mpParser
);
}
sal_Int32
SAL_CALL
FastLocatorImpl
::
getLineNumber
(
void
)
throw
(
RuntimeException
,
std
::
exception
)
{
checkDispose
();
return
XML_GetCurrentLineNumber
(
mpParser
->
getEntity
().
mpParser
);
}
OUString
SAL_CALL
FastLocatorImpl
::
getPublicId
(
void
)
throw
(
RuntimeException
,
std
::
exception
)
{
checkDispose
();
return
mpParser
->
getEntity
().
maStructSource
.
sPublicId
;
}
OUString
SAL_CALL
FastLocatorImpl
::
getSystemId
(
void
)
throw
(
RuntimeException
,
std
::
exception
)
{
checkDispose
();
return
mpParser
->
getEntity
().
maStructSource
.
sSystemId
;
}
ParserData
::
ParserData
()
:
mpTokenHandler
(
NULL
)
{}
...
...
@@ -382,8 +375,6 @@ ParserData::ParserData()
ParserData
::~
ParserData
()
{}
Entity
::
Entity
(
const
ParserData
&
rData
)
:
ParserData
(
rData
)
,
mnProducedEventsSize
(
0
)
...
...
@@ -632,16 +623,12 @@ FastSaxParserImpl::FastSaxParserImpl( FastSaxParser* pFront ) :
mxDocumentLocator
.
set
(
new
FastLocatorImpl
(
this
)
);
}
FastSaxParserImpl
::~
FastSaxParserImpl
()
{
if
(
mxDocumentLocator
.
is
()
)
mxDocumentLocator
->
dispose
();
}
void
FastSaxParserImpl
::
DefineNamespace
(
const
OString
&
rPrefix
,
const
sal_Char
*
pNamespaceURL
)
{
Entity
&
rEntity
=
getEntity
();
...
...
@@ -658,8 +645,6 @@ void FastSaxParserImpl::DefineNamespace( const OString& rPrefix, const sal_Char*
}
}
sal_Int32
FastSaxParserImpl
::
GetToken
(
const
sal_Char
*
pToken
,
sal_Int32
nLen
/* = 0 */
)
{
return
maTokenLookup
.
getTokenFromChars
(
getEntity
().
mxTokenHandler
,
...
...
@@ -667,8 +652,6 @@ sal_Int32 FastSaxParserImpl::GetToken( const sal_Char* pToken, sal_Int32 nLen /*
pToken
,
nLen
);
}
sal_Int32
FastSaxParserImpl
::
GetTokenWithPrefix
(
const
sal_Char
*
pPrefix
,
int
nPrefixLen
,
const
sal_Char
*
pName
,
int
nNameLen
)
throw
(
SAXException
)
{
sal_Int32
nNamespaceToken
=
FastToken
::
DONTKNOW
;
...
...
@@ -699,8 +682,6 @@ sal_Int32 FastSaxParserImpl::GetTokenWithPrefix( const sal_Char*pPrefix, int nPr
return
FastToken
::
DONTKNOW
;
}
sal_Int32
FastSaxParserImpl
::
GetNamespaceToken
(
const
OUString
&
rNamespaceURL
)
{
NamespaceMap
::
iterator
aIter
(
maNamespaceMap
.
find
(
rNamespaceURL
)
);
...
...
@@ -710,8 +691,6 @@ sal_Int32 FastSaxParserImpl::GetNamespaceToken( const OUString& rNamespaceURL )
return
FastToken
::
DONTKNOW
;
}
OUString
FastSaxParserImpl
::
GetNamespaceURL
(
const
OString
&
rPrefix
)
throw
(
SAXException
)
{
Entity
&
rEntity
=
getEntity
();
...
...
@@ -746,8 +725,6 @@ OUString FastSaxParserImpl::GetNamespaceURL( const sal_Char*pPrefix, int nPrefix
throw
SAXException
();
// prefix that has no defined namespace url
}
sal_Int32
FastSaxParserImpl
::
GetTokenWithContextNamespace
(
sal_Int32
nNamespaceToken
,
const
sal_Char
*
pName
,
int
nNameLen
)
{
if
(
nNamespaceToken
!=
FastToken
::
DONTKNOW
)
...
...
@@ -760,8 +737,6 @@ sal_Int32 FastSaxParserImpl::GetTokenWithContextNamespace( sal_Int32 nNamespaceT
return
FastToken
::
DONTKNOW
;
}
void
FastSaxParserImpl
::
splitName
(
const
XML_Char
*
pwName
,
const
XML_Char
*&
rpPrefix
,
sal_Int32
&
rPrefixLen
,
const
XML_Char
*&
rpName
,
sal_Int32
&
rNameLen
)
{
XML_Char
*
p
;
...
...
@@ -1086,12 +1061,7 @@ void FastSaxParserImpl::parse()
produce
(
DONE
);
}
// The C-Callbacks
void
FastSaxParserImpl
::
callbackStartElement
(
const
XML_Char
*
pwName
,
const
XML_Char
**
awAttributes
)
{
Entity
&
rEntity
=
getEntity
();
...
...
@@ -1239,7 +1209,6 @@ void FastSaxParserImpl::callbackEndElement( SAL_UNUSED_PARAMETER const XML_Char*
rEntity
.
endElement
();
}
void
FastSaxParserImpl
::
callbackCharacters
(
const
XML_Char
*
s
,
int
nLen
)
{
Entity
&
rEntity
=
getEntity
();
...
...
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