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
2cef646f
Kaydet (Commit)
2cef646f
authored
Agu 31, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: Iff961fccfa7b60e788b538569bb724e806e99408
üst
1656b722
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
13 deletions
+13
-13
breakiteratorImpl.cxx
i18npool/source/breakiterator/breakiteratorImpl.cxx
+1
-1
xdictionary.cxx
i18npool/source/breakiterator/xdictionary.cxx
+2
-2
collator_unicode.cxx
i18npool/source/collator/collator_unicode.cxx
+5
-5
indexentrysupplier_asian.cxx
i18npool/source/indexentry/indexentrysupplier_asian.cxx
+2
-2
LocaleNode.cxx
i18npool/source/localedata/LocaleNode.cxx
+1
-1
localedata.cxx
i18npool/source/localedata/localedata.cxx
+1
-1
nativenumbersupplier.cxx
i18npool/source/nativenumber/nativenumbersupplier.cxx
+1
-1
No files found.
i18npool/source/breakiterator/breakiteratorImpl.cxx
Dosyayı görüntüle @
2cef646f
...
...
@@ -585,7 +585,7 @@ BreakIteratorImpl::getLocaleSpecificBreakIterator(const Locale& rLocale) throw (
(
rLocale
.
Country
==
"HK"
||
rLocale
.
Country
==
"MO"
)
&&
// if the country code is HK or MO, one more step to try TW.
createLocaleSpecificBreakIterator
(
aBuf
.
append
(
rLocale
.
Language
).
append
(
under
).
append
Ascii
(
createLocaleSpecificBreakIterator
(
aBuf
.
append
(
rLocale
.
Language
).
append
(
under
).
append
(
"TW"
).
makeStringAndClear
()))
||
(
l
>
0
&&
// load service with name <base>_<lang>
...
...
i18npool/source/breakiterator/xdictionary.cxx
Dosyayı görüntüle @
2cef646f
...
...
@@ -162,11 +162,11 @@ void xdictionary::initDictionaryData(const sal_Char *pLang)
#ifdef SAL_DLLPREFIX
OUStringBuffer
aBuf
(
sal
::
static_int_cast
<
int
>
(
strlen
(
pLang
)
+
7
+
6
)
);
// mostly "lib*.so" (with * == dict_zh)
aBuf
.
append
Ascii
(
SAL_DLLPREFIX
);
aBuf
.
append
(
SAL_DLLPREFIX
);
#else
OUStringBuffer
aBuf
(
sal
::
static_int_cast
<
int
>
(
strlen
(
pLang
)
+
7
+
4
)
);
// mostly "*.dll" (with * == dict_zh)
#endif
aBuf
.
append
Ascii
(
"dict_"
).
appendAscii
(
pLang
).
appendAscii
(
SAL_DLLEXTENSION
);
aBuf
.
append
(
"dict_"
).
appendAscii
(
pLang
).
append
(
SAL_DLLEXTENSION
);
aEntry
.
mhModule
=
osl_loadModuleRelative
(
&
thisModule
,
aBuf
.
makeStringAndClear
().
pData
,
SAL_LOADMODULE_DEFAULT
);
if
(
aEntry
.
mhModule
)
{
oslGenericFunction
func
;
...
...
i18npool/source/collator/collator_unicode.cxx
Dosyayı görüntüle @
2cef646f
...
...
@@ -148,12 +148,12 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang::
#ifndef DISABLE_DYNLOADING
OUStringBuffer
aBuf
;
#ifdef SAL_DLLPREFIX
aBuf
.
append
Ascii
(
SAL_DLLPREFIX
);
aBuf
.
append
(
SAL_DLLPREFIX
);
#endif
aBuf
.
append
Ascii
(
"collator_data"
).
appendAscii
(
SAL_DLLEXTENSION
);
aBuf
.
append
(
"collator_data"
).
append
(
SAL_DLLEXTENSION
);
hModule
=
osl_loadModuleRelative
(
&
thisModule
,
aBuf
.
makeStringAndClear
().
pData
,
SAL_LOADMODULE_DEFAULT
);
if
(
hModule
)
{
aBuf
.
append
Ascii
(
"get_"
).
append
(
rLocale
.
Language
).
appendAscii
(
"_"
);
aBuf
.
append
(
"get_"
).
append
(
rLocale
.
Language
).
append
(
"_"
);
if
(
rLocale
.
Language
==
"zh"
)
{
OUString
func_base
=
aBuf
.
makeStringAndClear
();
OUString
funclen_base
=
func_base
+
"_length"
;
...
...
@@ -175,9 +175,9 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang::
if
(
rLocale
.
Language
==
"ja"
)
{
// replace algorithm name to implementation name.
if
(
rAlgorithm
==
"phonetic (alphanumeric first)"
)
aBuf
.
append
Ascii
(
"phonetic_alphanumeric_first"
);
aBuf
.
append
(
"phonetic_alphanumeric_first"
);
else
if
(
rAlgorithm
==
"phonetic (alphanumeric last)"
)
aBuf
.
append
Ascii
(
"phonetic_alphanumeric_last"
);
aBuf
.
append
(
"phonetic_alphanumeric_last"
);
else
aBuf
.
append
(
rAlgorithm
);
}
else
{
...
...
i18npool/source/indexentry/indexentrysupplier_asian.cxx
Dosyayı görüntüle @
2cef646f
...
...
@@ -188,13 +188,13 @@ IndexEntrySupplier_asian::getPhoneticCandidate( const OUString& rIndexEntry,
if
(
address
!=
0xFFFF
)
{
address
=
idx
[
1
][
address
+
(
ch
&
0xFF
)];
if
(
i
>
0
&&
rLocale
.
Language
==
"zh"
)
candidate
.
append
Ascii
(
" "
);
candidate
.
append
(
" "
);
if
(
idx
[
2
])
candidate
.
append
(
&
idx
[
2
][
address
]);
else
candidate
.
append
(
address
);
}
else
candidate
.
append
Ascii
(
" "
);
candidate
.
append
(
" "
);
}
}
return
candidate
.
makeStringAndClear
();
...
...
i18npool/source/localedata/LocaleNode.cxx
Dosyayı görüntüle @
2cef646f
...
...
@@ -878,7 +878,7 @@ void LCFormatNode::generateCode (const OFileWriter &of) const
incErrorInt
(
"Error: Time100SecSeparator not present in FormatCode formatindex=
\"
%d
\"
.
\n
"
,
formatindex
);
OUStringBuffer
a100s
(
pSep
->
getValue
());
a100s
.
append
Ascii
(
"00"
);
a100s
.
append
(
"00"
);
n100s
=
aCode
.
indexOf
(
a100s
.
makeStringAndClear
());
if
(
n100s
<
0
)
incErrorInt
(
"Error: Time100SecSeparator+00 not present in FormatCode formatindex=
\"
%d
\"
.
\n
"
,
...
...
i18npool/source/localedata/localedata.cxx
Dosyayı görüntüle @
2cef646f
...
...
@@ -508,7 +508,7 @@ oslGenericFunction SAL_CALL lcl_LookupTableHelper::getFunctionSymbolByName(
// Library not loaded, load it and add it to the list.
#ifdef SAL_DLLPREFIX
aBuf
.
ensureCapacity
(
strlen
(
aLibTable
[
i
].
pLib
)
+
6
);
// mostly "lib*.so"
aBuf
.
append
Ascii
(
SAL_DLLPREFIX
).
appendAscii
(
aLibTable
[
i
].
pLib
).
appendAscii
(
SAL_DLLEXTENSION
);
aBuf
.
append
(
SAL_DLLPREFIX
).
appendAscii
(
aLibTable
[
i
].
pLib
).
append
(
SAL_DLLEXTENSION
);
#else
aBuf
.
ensureCapacity
(
strlen
(
aLibTable
[
i
].
pLib
)
+
4
);
// mostly "*.dll"
aBuf
.
appendAscii
(
aLibTable
[
i
].
pLib
).
appendAscii
(
SAL_DLLEXTENSION
);
...
...
i18npool/source/nativenumber/nativenumbersupplier.cxx
Dosyayı görüntüle @
2cef646f
...
...
@@ -845,7 +845,7 @@ void makeHebrewNumber(sal_Int64 value, OUStringBuffer& output, bool isLast, bool
if
(
value
>
1000
)
{
makeHebrewNumber
(
value
/
1000
,
output
,
num
!=
0
,
useGeresh
);
output
.
append
Ascii
(
" "
);
output
.
append
(
" "
);
}
if
(
num
==
0
)
{
output
.
append
(
value
==
1000
?
thousand
:
isLast
?
thousands_last
:
thousands
);
...
...
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