From 4dc659e2d80940a3c4c5327d14ad918ab6e3fe48 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 5 Feb 2015 18:23:51 +0100 Subject: [PATCH] yet yet yet yet yet another Windows build 'Locale' ambiguous symbol Change-Id: I99281928665f6738a7f8d5fd04104445c06b17e8 --- editeng/source/uno/UnoForbiddenCharsTable.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/editeng/source/uno/UnoForbiddenCharsTable.cxx b/editeng/source/uno/UnoForbiddenCharsTable.cxx index e947ea117443..b0f390435131 100644 --- a/editeng/source/uno/UnoForbiddenCharsTable.cxx +++ b/editeng/source/uno/UnoForbiddenCharsTable.cxx @@ -43,7 +43,7 @@ void SvxUnoForbiddenCharsTable::onChange() { } -ForbiddenCharacters SvxUnoForbiddenCharsTable::getForbiddenCharacters( const Locale& rLocale ) +ForbiddenCharacters SvxUnoForbiddenCharsTable::getForbiddenCharacters( const lang::Locale& rLocale ) throw(NoSuchElementException, RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -59,7 +59,7 @@ ForbiddenCharacters SvxUnoForbiddenCharsTable::getForbiddenCharacters( const Loc return *pForbidden; } -sal_Bool SvxUnoForbiddenCharsTable::hasForbiddenCharacters( const Locale& rLocale ) +sal_Bool SvxUnoForbiddenCharsTable::hasForbiddenCharacters( const lang::Locale& rLocale ) throw(RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -73,7 +73,7 @@ sal_Bool SvxUnoForbiddenCharsTable::hasForbiddenCharacters( const Locale& rLocal return NULL != pForbidden; } -void SvxUnoForbiddenCharsTable::setForbiddenCharacters(const Locale& rLocale, const ForbiddenCharacters& rForbiddenCharacters ) +void SvxUnoForbiddenCharsTable::setForbiddenCharacters(const lang::Locale& rLocale, const ForbiddenCharacters& rForbiddenCharacters ) throw(RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -87,7 +87,7 @@ void SvxUnoForbiddenCharsTable::setForbiddenCharacters(const Locale& rLocale, co onChange(); } -void SvxUnoForbiddenCharsTable::removeForbiddenCharacters( const Locale& rLocale ) +void SvxUnoForbiddenCharsTable::removeForbiddenCharacters( const lang::Locale& rLocale ) throw(RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -102,17 +102,17 @@ void SvxUnoForbiddenCharsTable::removeForbiddenCharacters( const Locale& rLocale } // XSupportedLocales -Sequence< Locale > SAL_CALL SvxUnoForbiddenCharsTable::getLocales() +Sequence< lang::Locale > SAL_CALL SvxUnoForbiddenCharsTable::getLocales() throw(RuntimeException, std::exception) { SolarMutexGuard aGuard; const sal_Int32 nCount = mxForbiddenChars.is() ? mxForbiddenChars->GetMap().size() : 0; - Sequence< Locale > aLocales( nCount ); + Sequence< lang::Locale > aLocales( nCount ); if( nCount ) { - Locale* pLocales = aLocales.getArray(); + lang::Locale* pLocales = aLocales.getArray(); for( SvxForbiddenCharactersTable::Map::iterator it = mxForbiddenChars->GetMap().begin(); it != mxForbiddenChars->GetMap().end(); ++it ) @@ -125,7 +125,7 @@ Sequence< Locale > SAL_CALL SvxUnoForbiddenCharsTable::getLocales() return aLocales; } -sal_Bool SAL_CALL SvxUnoForbiddenCharsTable::hasLocale( const Locale& aLocale ) +sal_Bool SAL_CALL SvxUnoForbiddenCharsTable::hasLocale( const lang::Locale& aLocale ) throw(RuntimeException, std::exception) { SolarMutexGuard aGuard;