From 0c8634317979af80a32be729ed169229e8ecff99 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 23 Oct 2015 13:23:17 +0200 Subject: com::sun::star->css in linguistic Change-Id: I3708931dd96d83d1daa332e930e291c3d6cfd73b --- linguistic/source/misc.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'linguistic/source/misc.cxx') diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx index c685f60032a0..699900cf23f3 100644 --- a/linguistic/source/misc.cxx +++ b/linguistic/source/misc.cxx @@ -79,17 +79,17 @@ LocaleDataWrapper & GetLocaleDataWrapper( sal_Int16 nLang ) return aLclDtaWrp; } -LanguageType LinguLocaleToLanguage( const ::com::sun::star::lang::Locale& rLocale ) +LanguageType LinguLocaleToLanguage( const css::lang::Locale& rLocale ) { if ( rLocale.Language.isEmpty() ) return LANGUAGE_NONE; return LanguageTag::convertToLanguageType( rLocale ); } -::com::sun::star::lang::Locale LinguLanguageToLocale( LanguageType nLanguage ) +css::lang::Locale LinguLanguageToLocale( LanguageType nLanguage ) { if (nLanguage == LANGUAGE_NONE) - return ::com::sun::star::lang::Locale(); + return css::lang::Locale(); return LanguageTag::convertToLocale( nLanguage); } @@ -415,7 +415,7 @@ bool IsReadOnly( const OUString &rURL, bool *pbExist ) { try { - uno::Reference< ::com::sun::star::ucb::XCommandEnvironment > xCmdEnv; + uno::Reference< css::ucb::XCommandEnvironment > xCmdEnv; ::ucbhelper::Content aContent( rURL, xCmdEnv, comphelper::getProcessComponentContext() ); bExists = aContent.isDocument(); @@ -615,7 +615,7 @@ CapType SAL_CALL capitalType(const OUString& aTerm, CharClass * pCC) for (sal_Int32 tindex = 0; tindex < tlen; ++tindex) { if (pCC->getCharacterType(aStr,tindex) & - ::com::sun::star::i18n::KCharacterType::UPPER) nc++; + css::i18n::KCharacterType::UPPER) nc++; } if (nc == 0) @@ -623,7 +623,7 @@ CapType SAL_CALL capitalType(const OUString& aTerm, CharClass * pCC) if (nc == tlen) return CapType::ALLCAP; if ((nc == 1) && (pCC->getCharacterType(aStr,0) & - ::com::sun::star::i18n::KCharacterType::UPPER)) + css::i18n::KCharacterType::UPPER)) return CapType::INITCAP; return CapType::MIXED; -- cgit