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
fb2013cc
Kaydet (Commit)
fb2013cc
authored
Nis 28, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:salunicodeliteral: i18npool
Change-Id: I7307cc96eac5868ed26e8ace1fc3c1a93e1bfec4
üst
01eeb20f
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
16 deletions
+16
-16
test_breakiterator.cxx
i18npool/qa/cppunit/test_breakiterator.cxx
+1
-1
defaultnumberingprovider.cxx
...rce/defaultnumberingprovider/defaultnumberingprovider.cxx
+5
-5
indexentrysupplier_default.cxx
i18npool/source/indexentry/indexentrysupplier_default.cxx
+4
-4
ignoreIandEfollowedByYa_ja_JP.cxx
.../source/transliteration/ignoreIandEfollowedByYa_ja_JP.cxx
+1
-1
ignoreIterationMark_ja_JP.cxx
...pool/source/transliteration/ignoreIterationMark_ja_JP.cxx
+1
-1
ignoreKiKuFollowedBySa_ja_JP.cxx
...l/source/transliteration/ignoreKiKuFollowedBySa_ja_JP.cxx
+1
-1
ignoreProlongedSoundMark_ja_JP.cxx
...source/transliteration/ignoreProlongedSoundMark_ja_JP.cxx
+1
-1
transliteration_Ignore.cxx
i18npool/source/transliteration/transliteration_Ignore.cxx
+1
-1
transliteration_OneToOne.cxx
i18npool/source/transliteration/transliteration_OneToOne.cxx
+1
-1
No files found.
i18npool/qa/cppunit/test_breakiterator.cxx
Dosyayı görüntüle @
fb2013cc
...
...
@@ -380,7 +380,7 @@ void TestBreakIterator::testWordBoundaries()
}
const
sal_Int32
aSingleQuotePositions
[]
=
{
0
,
1
,
9
,
10
};
CPPUNIT_ASSERT_EQUAL
(
static_cast
<
sal_Unicode
>
(
'\''
)
,
aTests
[
0
]);
CPPUNIT_ASSERT_EQUAL
(
u'\''
,
aTests
[
0
]);
{
OUString
aTest
=
aBase
.
replaceAll
(
"xx"
,
OUStringLiteral1
(
aTests
[
0
]));
sal_Int32
nPos
=
-
1
;
...
...
i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
Dosyayı görüntüle @
fb2013cc
...
...
@@ -413,7 +413,7 @@ void lcl_formatPersianWord( sal_Int32 nNumber, OUString& rsResult )
if
((
nDigit
=
nPart
%
100
)
<
20
)
{
if
(
!
aTemp
.
isEmpty
())
aTemp
.
insert
(
0
,
sal_Unicode
(
0x0020
)
);
aTemp
.
insert
(
0
,
u' '
);
aTemp
.
insert
(
0
,
table_PersianWord_decade1
[
nDigit
]);
}
else
...
...
@@ -449,10 +449,10 @@ void lcl_formatPersianWord( sal_Int32 nNumber, OUString& rsResult )
// Greek Letter Numbering
// KERAIA separates numerals from other text
#define STIGMA
(sal_Unicode) 0x03DB
#define LEFT_KERAIA
(sal_Unicode) 0x0375
#define MYRIAD_SYM
(sal_Unicode) 0x039C
#define DOT_SYM
(sal_Unicode) 0x002E
#define STIGMA
u'\x03DB'
#define LEFT_KERAIA
u'\x0375'
#define MYRIAD_SYM
u'\x039C'
#define DOT_SYM
u'.'
#define SIGMA_OFFSET 19
#define TAU_OFFSET 20
#define MYRIAD 10000
...
...
i18npool/source/indexentry/indexentrysupplier_default.cxx
Dosyayı görüntüle @
fb2013cc
...
...
@@ -187,7 +187,7 @@ void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm
continue
;
switch
(
curr
)
{
case
sal_Unicode
(
'-'
)
:
case
u'-'
:
if
(
key_count
>
0
&&
i
+
1
<
len
)
{
for
(
curr
=
keyStr
[
++
i
];
key_count
<
MAX_KEYS
&&
keys
[
key_count
-
1
].
key
<
curr
;
key_count
++
)
{
keys
[
key_count
].
key
=
keys
[
key_count
-
1
].
key
+
1
;
...
...
@@ -196,7 +196,7 @@ void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm
}
else
throw
RuntimeException
();
break
;
case
sal_Unicode
(
'['
)
:
case
u'['
:
for
(
i
++
;
i
<
len
&&
keyStr
[
i
]
!=
']'
;
i
++
)
{
if
(
unicode
::
isWhiteSpace
(
keyStr
[
i
]))
{
continue
;
...
...
@@ -209,10 +209,10 @@ void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm
}
}
break
;
case
sal_Unicode
(
'{'
)
:
case
u'{'
:
close
=
'}'
;
SAL_FALLTHROUGH
;
case
sal_Unicode
(
'('
)
:
case
u'('
:
if
(
key_count
>
0
)
{
sal_Int16
end
=
i
+
1
;
for
(;
end
<
len
&&
keyStr
[
end
]
!=
close
;
end
++
)
;
...
...
i18npool/source/transliteration/ignoreIandEfollowedByYa_ja_JP.cxx
Dosyayı görüntüle @
fb2013cc
...
...
@@ -120,7 +120,7 @@ ignoreIandEfollowedByYa_ja_JP::folding( const OUString& inStr, sal_Int32 startPo
*
dst
++
=
previousChar
;
}
*
dst
=
(
sal_Unicode
)
0
;
*
dst
=
u'\0'
;
newStr
->
length
=
sal_Int32
(
dst
-
newStr
->
buffer
);
if
(
useOffset
)
...
...
i18npool/source/transliteration/ignoreIterationMark_ja_JP.cxx
Dosyayı görüntüle @
fb2013cc
...
...
@@ -130,7 +130,7 @@ ignoreIterationMark_ja_JP::folding( const OUString& inStr, sal_Int32 startPos, s
*
dst
++
=
previousChar
;
}
*
dst
=
(
sal_Unicode
)
0
;
*
dst
=
u'\0'
;
newStr
->
length
=
sal_Int32
(
dst
-
newStr
->
buffer
);
if
(
useOffset
)
...
...
i18npool/source/transliteration/ignoreKiKuFollowedBySa_ja_JP.cxx
Dosyayı görüntüle @
fb2013cc
...
...
@@ -78,7 +78,7 @@ ignoreKiKuFollowedBySa_ja_JP::folding( const OUString& inStr, sal_Int32 startPos
*
dst
++
=
previousChar
;
}
*
dst
=
(
sal_Unicode
)
0
;
*
dst
=
u'\0'
;
newStr
->
length
=
sal_Int32
(
dst
-
newStr
->
buffer
);
if
(
useOffset
)
...
...
i18npool/source/transliteration/ignoreProlongedSoundMark_ja_JP.cxx
Dosyayı görüntüle @
fb2013cc
...
...
@@ -336,7 +336,7 @@ ignoreProlongedSoundMark_ja_JP::folding( const OUString& inStr, sal_Int32 startP
*
dst
++
=
previousChar
;
}
*
dst
=
(
sal_Unicode
)
0
;
*
dst
=
u'\0'
;
newStr
->
length
=
sal_Int32
(
dst
-
newStr
->
buffer
);
if
(
useOffset
)
...
...
i18npool/source/transliteration/transliteration_Ignore.cxx
Dosyayı görüntüle @
fb2013cc
...
...
@@ -190,7 +190,7 @@ transliteration_Ignore::folding( const OUString& inStr, sal_Int32 startPos,
newStr
->
length
=
sal_Int32
(
dst
-
newStr
->
buffer
);
if
(
useOffset
)
offset
.
realloc
(
newStr
->
length
);
*
dst
=
(
sal_Unicode
)
0
;
*
dst
=
u'\0'
;
return
OUString
(
newStr
,
SAL_NO_ACQUIRE
);
// take ownership
}
...
...
i18npool/source/transliteration/transliteration_OneToOne.cxx
Dosyayı görüntüle @
fb2013cc
...
...
@@ -75,7 +75,7 @@ transliteration_OneToOne::transliterate( const OUString& inStr, sal_Int32 startP
if
(
useOffset
)
*
p
++
=
position
++
;
}
*
dst
=
(
sal_Unicode
)
0
;
*
dst
=
u'\0'
;
return
OUString
(
newStr
,
SAL_NO_ACQUIRE
);
// take ownership
}
...
...
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