diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-22 09:10:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-22 09:11:40 +0100 |
commit | 9d2cfee5e9e3ac82fab2e920730d04f23593ec10 (patch) | |
tree | 860f8e3363edb156741ed3bbc4314e92bc05ec3f /unotools | |
parent | ae4da42e5fd0222fa1d1336ae1090b1ad840327f (diff) |
some more clang warnings
Change-Id: I4359784279875dc9dac99bc4d2db95dccf094b20
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/i18n/localedatawrapper.cxx | 6 | ||||
-rw-r--r-- | unotools/source/i18n/transliterationwrapper.cxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx index d6dee74d9435..bdeb2d661471 100644 --- a/unotools/source/i18n/localedatawrapper.cxx +++ b/unotools/source/i18n/localedatawrapper.cxx @@ -353,7 +353,7 @@ const rtl::OUString& LocaleDataWrapper::getOneLocaleItem( sal_Int16 nItem ) cons ::utl::ReadWriteGuard aGuard( aMutex ); if ( nItem >= LocaleItem::COUNT ) { - SAL_WARN( "unotools", "getOneLocaleItem: bounds" ); + SAL_WARN( "unotools.i18n", "getOneLocaleItem: bounds" ); return aLocaleItem[0]; } if (aLocaleItem[nItem].isEmpty()) @@ -426,7 +426,7 @@ void LocaleDataWrapper::getOneLocaleItemImpl( sal_Int16 nItem ) aLocaleItem[nItem] = aLocaleDataItem.LongDateYearSeparator; break; default: - SAL_WARN( "unotools", "getOneLocaleItemImpl: which one?" ); + SAL_WARN( "unotools.i18n", "getOneLocaleItemImpl: which one?" ); } } @@ -449,7 +449,7 @@ const rtl::OUString& LocaleDataWrapper::getOneReservedWord( sal_Int16 nWord ) co ::utl::ReadWriteGuard aGuard( aMutex ); if ( nWord < 0 || nWord >= reservedWords::COUNT ) { - SAL_WARN( "unotools", "getOneReservedWord: bounds" ); + SAL_WARN( "unotools.i18n", "getOneReservedWord: bounds" ); nWord = reservedWords::FALSE_WORD; } if (aReservedWord[nWord].isEmpty()) diff --git a/unotools/source/i18n/transliterationwrapper.cxx b/unotools/source/i18n/transliterationwrapper.cxx index 90ef2634fa1e..f6637521a2b9 100644 --- a/unotools/source/i18n/transliterationwrapper.cxx +++ b/unotools/source/i18n/transliterationwrapper.cxx @@ -66,7 +66,7 @@ String TransliterationWrapper::transliterate( } catch( Exception& ) { - SAL_WARN( "unotools", "transliterate: Exception caught!" ); + SAL_WARN( "unotools.i18n", "transliterate: Exception caught!" ); } } return sRet; @@ -90,7 +90,7 @@ String TransliterationWrapper::transliterate( } catch( Exception& ) { - SAL_WARN( "unotools", "transliterate: Exception caught!" ); + SAL_WARN( "unotools.i18n", "transliterate: Exception caught!" ); } } return sRet; |