summaryrefslogtreecommitdiff
path: root/linguistic/source/misc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-23 13:23:17 +0200
committerNoel Grandin <noel@peralex.com>2015-10-23 13:27:47 +0200
commit0c8634317979af80a32be729ed169229e8ecff99 (patch)
tree08d7f1e4068f8c6b73cd76df2226ab4eaad8d367 /linguistic/source/misc.cxx
parent728f98303193bfc9319b4e82a4078d27d1844139 (diff)
com::sun::star->css in linguistic
Change-Id: I3708931dd96d83d1daa332e930e291c3d6cfd73b
Diffstat (limited to 'linguistic/source/misc.cxx')
-rw-r--r--linguistic/source/misc.cxx12
1 files changed, 6 insertions, 6 deletions
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;