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
33dfe072
Kaydet (Commit)
33dfe072
authored
Eki 07, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Reduce variable scope
Change-Id: I1269bd713bae10f9b6c1d3e797dd7043d24fa8d3
üst
835b6e21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
LocaleNode.cxx
i18npool/source/localedata/LocaleNode.cxx
+4
-5
No files found.
i18npool/source/localedata/LocaleNode.cxx
Dosyayı görüntüle @
33dfe072
...
...
@@ -503,8 +503,7 @@ void LCCTYPENode::generateCode (const OFileWriter &of) const
fprintf
(
stderr
,
"Warning: %s
\n
"
,
"QuotationEnd equals DoubleQuotationEnd. Not necessarily an issue, but unusual."
);
// Known good values, exclude ASCII single (U+0027, ') and double (U+0022, ") quotes.
int
ic
;
switch
(
ic
=
aQuoteStart
.
toChar
())
switch
(
int
ic
=
aQuoteStart
.
toChar
())
{
case
0x2018
:
// LEFT SINGLE QUOTATION MARK
case
0x201a
:
// SINGLE LOW-9 QUOTATION MARK
...
...
@@ -518,7 +517,7 @@ void LCCTYPENode::generateCode (const OFileWriter &of) const
fprintf
(
stderr
,
"Warning: %s U+%04X %s
\n
"
,
"QuotationStart may be wrong:"
,
ic
,
OSTR
(
aQuoteStart
));
}
switch
(
ic
=
aQuoteEnd
.
toChar
())
switch
(
i
nt
i
c
=
aQuoteEnd
.
toChar
())
{
case
0x2019
:
// RIGHT SINGLE QUOTATION MARK
case
0x201a
:
// SINGLE LOW-9 QUOTATION MARK
...
...
@@ -532,7 +531,7 @@ void LCCTYPENode::generateCode (const OFileWriter &of) const
fprintf
(
stderr
,
"Warning: %s U+%04X %s
\n
"
,
"QuotationEnd may be wrong:"
,
ic
,
OSTR
(
aQuoteEnd
));
}
switch
(
ic
=
aDoubleQuoteStart
.
toChar
())
switch
(
i
nt
i
c
=
aDoubleQuoteStart
.
toChar
())
{
case
0x00ab
:
// LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
case
0x00bb
:
// RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
...
...
@@ -546,7 +545,7 @@ void LCCTYPENode::generateCode (const OFileWriter &of) const
fprintf
(
stderr
,
"Warning: %s U+%04X %s
\n
"
,
"DoubleQuotationStart may be wrong:"
,
ic
,
OSTR
(
aDoubleQuoteStart
));
}
switch
(
ic
=
aDoubleQuoteEnd
.
toChar
())
switch
(
i
nt
i
c
=
aDoubleQuoteEnd
.
toChar
())
{
case
0x00ab
:
// LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
case
0x00bb
:
// RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
...
...
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