Kaydet (Commit) e512e19e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

i18nutil: Use appropriate OUString functions on string constants

Change-Id: I09f6c1d793c6d4f61c25649cfb463a41d88b23df
üst 2c571050
...@@ -408,58 +408,58 @@ PaperInfo PaperInfo::getDefaultPaperForLocale( ...@@ -408,58 +408,58 @@ PaperInfo PaperInfo::getDefaultPaperForLocale(
if ( if (
//United States, Letter //United States, Letter
rLocale.Country.equalsAscii("US") || rLocale.Country == "US" ||
//Puerto Rico: //Puerto Rico:
// http://unicode.org/cldr/trac/ticket/1710 // http://unicode.org/cldr/trac/ticket/1710
// http://sources.redhat.com/ml/libc-hacker/2001-07/msg00046.html // http://sources.redhat.com/ml/libc-hacker/2001-07/msg00046.html
rLocale.Country.equalsAscii("PR") || rLocale.Country == "PR" ||
//Canada: //Canada:
// http://sources.redhat.com/ml/libc-hacker/2001-07/msg00053.html // http://sources.redhat.com/ml/libc-hacker/2001-07/msg00053.html
rLocale.Country.equalsAscii("CA") || rLocale.Country == "CA" ||
//Venuzuela: //Venuzuela:
// http://unicode.org/cldr/trac/ticket/1710 // http://unicode.org/cldr/trac/ticket/1710
// https://www.redhat.com/archives/fedora-devel-list/2008-August/msg00019.html // https://www.redhat.com/archives/fedora-devel-list/2008-August/msg00019.html
rLocale.Country.equalsAscii("VE") || rLocale.Country == "VE" ||
//Chile: //Chile:
// http://unicode.org/cldr/trac/ticket/1710 // http://unicode.org/cldr/trac/ticket/1710
// https://www.redhat.com/archives/fedora-devel-list/2008-August/msg00240.html // https://www.redhat.com/archives/fedora-devel-list/2008-August/msg00240.html
rLocale.Country.equalsAscii("CL") || rLocale.Country == "CL" ||
//Mexico: //Mexico:
// http://unicode.org/cldr/trac/ticket/1710 // http://unicode.org/cldr/trac/ticket/1710
// http://qa.openoffice.org/issues/show_bug.cgi?id=49739 // http://qa.openoffice.org/issues/show_bug.cgi?id=49739
rLocale.Country.equalsAscii("MX") || rLocale.Country == "MX" ||
//Colombia: //Colombia:
// http://unicode.org/cldr/trac/ticket/1710 // http://unicode.org/cldr/trac/ticket/1710
// http://qa.openoffice.org/issues/show_bug.cgi?id=69703 // http://qa.openoffice.org/issues/show_bug.cgi?id=69703
rLocale.Country.equalsAscii("CO") || rLocale.Country == "CO" ||
//Philippines: //Philippines:
// http://unicode.org/cldr/trac/ticket/1710 // http://unicode.org/cldr/trac/ticket/1710
// http://ubuntuliving.blogspot.com/2008/07/default-paper-size-in-evince.html // http://ubuntuliving.blogspot.com/2008/07/default-paper-size-in-evince.html
// http://www.gov.ph/faqs/driverslicense.asp // http://www.gov.ph/faqs/driverslicense.asp
rLocale.Country.equalsAscii("PH") || rLocale.Country == "PH" ||
//Belize: //Belize:
// http://unicode.org/cldr/trac/ticket/2585 // http://unicode.org/cldr/trac/ticket/2585
// http://www.belize.gov.bz/ct.asp?xItem=1666&ctNode=486&mp=27 // http://www.belize.gov.bz/ct.asp?xItem=1666&ctNode=486&mp=27
rLocale.Country.equalsAscii("BZ") || rLocale.Country == "BZ" ||
//Costa Rica: //Costa Rica:
// http://unicode.org/cldr/trac/ticket/2585 // http://unicode.org/cldr/trac/ticket/2585
// http://sources.redhat.com/bugzilla/show_bug.cgi?id=11258 // http://sources.redhat.com/bugzilla/show_bug.cgi?id=11258
rLocale.Country.equalsAscii("CR") || rLocale.Country == "CR" ||
//Guatemala: //Guatemala:
// http://unicode.org/cldr/trac/ticket/2585 // http://unicode.org/cldr/trac/ticket/2585
// http://sources.redhat.com/bugzilla/show_bug.cgi?id=10936 // http://sources.redhat.com/bugzilla/show_bug.cgi?id=10936
rLocale.Country.equalsAscii("GT") || rLocale.Country == "GT" ||
//Nicaragua: //Nicaragua:
// http://unicode.org/cldr/trac/ticket/2585 // http://unicode.org/cldr/trac/ticket/2585
rLocale.Country.equalsAscii("NI") || rLocale.Country == "NI" ||
//Panama: //Panama:
// http://unicode.org/cldr/trac/ticket/2585 // http://unicode.org/cldr/trac/ticket/2585
// http://www.minsa.gob.pa/minsa/tl_files/documents/baner_informativo/INSTRUMENTO%20DE%20INVESTIGACION%20DE%20RAAV%202009.pdf // http://www.minsa.gob.pa/minsa/tl_files/documents/baner_informativo/INSTRUMENTO%20DE%20INVESTIGACION%20DE%20RAAV%202009.pdf
rLocale.Country.equalsAscii("PA") || rLocale.Country == "PA" ||
//El Salvador: //El Salvador:
// http://unicode.org/cldr/trac/ticket/2585 // http://unicode.org/cldr/trac/ticket/2585
// http://www.tse.gob.sv // http://www.tse.gob.sv
rLocale.Country.equalsAscii("SV") rLocale.Country == "SV"
) )
{ {
eType = PAPER_LETTER; eType = PAPER_LETTER;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment