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
017b1c5d
Kaydet (Commit)
017b1c5d
authored
Haz 01, 2012
tarafından
Thorsten Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Targeted string re-work in padmin and sax
üst
24ea39d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
pamain.cxx
padmin/source/pamain.cxx
+2
-2
fastparser.cxx
sax/source/fastparser/fastparser.cxx
+7
-7
fastserializer.cxx
sax/source/tools/fastserializer.cxx
+3
-3
No files found.
padmin/source/pamain.cxx
Dosyayı görüntüle @
017b1c5d
...
...
@@ -121,8 +121,8 @@ int MyApp::Main()
* Create UCB.
*/
Sequence
<
Any
>
aArgs
(
2
);
aArgs
[
0
]
<<=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
UCB_CONFIGURATION_KEY1_LOCAL
)
);
aArgs
[
1
]
<<=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
UCB_CONFIGURATION_KEY2_OFFICE
)
);
aArgs
[
0
]
<<=
OUString
(
UCB_CONFIGURATION_KEY1_LOCAL
);
aArgs
[
1
]
<<=
OUString
(
UCB_CONFIGURATION_KEY2_OFFICE
);
#if OSL_DEBUG_LEVEL > 1
sal_Bool
bSuccess
=
#endif
...
...
sax/source/fastparser/fastparser.cxx
Dosyayı görüntüle @
017b1c5d
...
...
@@ -453,7 +453,7 @@ void FastSaxParser::parseStream( const InputSource& maStructSource) throw (SAXEx
entity
.
maStructSource
=
maStructSource
;
if
(
!
entity
.
maStructSource
.
aInputStream
.
is
()
)
throw
SAXException
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"No input source"
)
),
Reference
<
XInterface
>
(),
Any
()
);
throw
SAXException
(
OUString
(
"No input source"
),
Reference
<
XInterface
>
(),
Any
()
);
entity
.
maConverter
.
setInputStream
(
entity
.
maStructSource
.
aInputStream
);
if
(
!
entity
.
maStructSource
.
sEncoding
.
isEmpty
()
)
...
...
@@ -462,7 +462,7 @@ void FastSaxParser::parseStream( const InputSource& maStructSource) throw (SAXEx
// create parser with proper encoding
entity
.
mpParser
=
XML_ParserCreate
(
0
);
if
(
!
entity
.
mpParser
)
throw
SAXException
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Couldn't create parser"
)
),
Reference
<
XInterface
>
(),
Any
()
);
throw
SAXException
(
OUString
(
"Couldn't create parser"
),
Reference
<
XInterface
>
(),
Any
()
);
// set all necessary C-Callbacks
XML_SetUserData
(
entity
.
mpParser
,
this
);
...
...
@@ -566,14 +566,14 @@ void FastSaxParser::setLocale( const Locale & Locale ) throw (RuntimeException)
Sequence
<
OUString
>
FastSaxParser
::
getSupportedServiceNames_Static
(
void
)
{
Sequence
<
OUString
>
aRet
(
1
);
aRet
.
getArray
()[
0
]
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
PARSER_SERVICE_NAME
)
);
aRet
.
getArray
()[
0
]
=
::
rtl
::
OUString
(
PARSER_SERVICE_NAME
);
return
aRet
;
}
// XServiceInfo
OUString
FastSaxParser
::
getImplementationName
()
throw
(
RuntimeException
)
{
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
PARSER_IMPLEMENTATION_NAME
)
);
return
OUString
(
PARSER_IMPLEMENTATION_NAME
);
}
// XServiceInfo
...
...
@@ -594,7 +594,7 @@ Sequence< OUString > FastSaxParser::getSupportedServiceNames(void) throw (Runtim
{
Sequence
<
OUString
>
seq
(
1
);
seq
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
PARSER_SERVICE_NAME
)
);
seq
.
getArray
()[
0
]
=
OUString
(
PARSER_SERVICE_NAME
);
return
seq
;
}
...
...
@@ -911,8 +911,8 @@ void FastSaxParser::callbackEntityDecl(
OSL_TRACE
(
"FastSaxParser: internal entity declaration, stopping"
);
XML_StopParser
(
getEntity
().
mpParser
,
XML_FALSE
);
getEntity
().
maSavedException
<<=
SAXParseException
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"FastSaxParser: internal entity declaration, stopping"
)
)
,
::
rtl
::
OUString
(
"FastSaxParser: internal entity declaration, stopping"
),
static_cast
<
OWeakObject
*>
(
this
),
Any
(),
mxDocumentLocator
->
getPublicId
(),
mxDocumentLocator
->
getSystemId
(),
...
...
sax/source/tools/fastserializer.cxx
Dosyayı görüntüle @
017b1c5d
...
...
@@ -301,7 +301,7 @@ namespace sax_fastparser {
// XServiceInfo
OUString
FastSaxSerializer
::
getImplementationName
()
throw
(
RuntimeException
)
{
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERIALIZER_IMPLEMENTATION_NAME
)
);
return
OUString
(
SERIALIZER_IMPLEMENTATION_NAME
);
}
// XServiceInfo
...
...
@@ -321,14 +321,14 @@ namespace sax_fastparser {
Sequence
<
OUString
>
FastSaxSerializer
::
getSupportedServiceNames
(
void
)
throw
(
RuntimeException
)
{
Sequence
<
OUString
>
seq
(
1
);
seq
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERIALIZER_SERVICE_NAME
)
);
seq
.
getArray
()[
0
]
=
OUString
(
SERIALIZER_SERVICE_NAME
);
return
seq
;
}
Sequence
<
OUString
>
FastSaxSerializer
::
getSupportedServiceNames_Static
(
void
)
{
Sequence
<
OUString
>
aRet
(
1
);
aRet
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERIALIZER_SERVICE_NAME
)
);
aRet
.
getArray
()[
0
]
=
OUString
(
SERIALIZER_SERVICE_NAME
);
return
aRet
;
}
...
...
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