Kaydet (Commit) 40b26d19 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Noel Grandin

com::sun::star->css in i18nutil

Change-Id: I3148a1a08302fa9b21b0e5459f04ecee6ec30a18
Reviewed-on: https://gerrit.libreoffice.org/19455Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 415d4347
......@@ -335,7 +335,7 @@ PaperInfo PaperInfo::getSystemDefaultPaper()
aLocaleStr = OUString::intern(RTL_CONSTASCII_USTRINGPARAM("en-US"));
// convert locale string to locale struct
::com::sun::star::lang::Locale aSysLocale;
css::lang::Locale aSysLocale;
sal_Int32 nDashPos = aLocaleStr.indexOf( '-' );
if( nDashPos < 0 ) nDashPos = aLocaleStr.getLength();
aSysLocale.Language = aLocaleStr.copy( 0, nDashPos );
......@@ -405,8 +405,7 @@ Paper PaperInfo::fromPSName(const OString &rName)
//http://sourceware.org/git/?p=glibc.git;a=tree;f=localedata/locales
//http://en.wikipedia.org/wiki/Paper_size
//http://msdn.microsoft.com/en-us/library/cc195164.aspx
PaperInfo PaperInfo::getDefaultPaperForLocale(
const ::com::sun::star::lang::Locale & rLocale)
PaperInfo PaperInfo::getDefaultPaperForLocale( const css::lang::Locale & rLocale )
{
Paper eType = PAPER_A4;
......
......@@ -1023,7 +1023,7 @@ bool ToggleUnicodeCodepoint::AllowMoreInput(sal_Unicode uChar)
switch ( unicode::getUnicodeType(uChar) )
{
case ::com::sun::star::i18n::UnicodeType::SURROGATE:
case css::i18n::UnicodeType::SURROGATE:
if( bPreventNonHex )
{
mbAllowMoreChars = false;
......@@ -1045,8 +1045,8 @@ bool ToggleUnicodeCodepoint::AllowMoreInput(sal_Unicode uChar)
mbAllowMoreChars = false;
break;
case ::com::sun::star::i18n::UnicodeType::NON_SPACING_MARK:
case ::com::sun::star::i18n::UnicodeType::COMBINING_SPACING_MARK:
case css::i18n::UnicodeType::NON_SPACING_MARK:
case css::i18n::UnicodeType::COMBINING_SPACING_MARK:
if( bPreventNonHex )
{
mbAllowMoreChars = false;
......
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