diff options
Diffstat (limited to 'i18npool/source')
4 files changed, 5 insertions, 5 deletions
diff --git a/i18npool/source/breakiterator/gendict.cxx b/i18npool/source/breakiterator/gendict.cxx index 1ccae1942729..16950287d82b 100644 --- a/i18npool/source/breakiterator/gendict.cxx +++ b/i18npool/source/breakiterator/gendict.cxx @@ -217,7 +217,7 @@ static inline void printIndex1(FILE *source_fp, sal_Int16 *set) #endif } -static inline void printIndex2(FILE *source_fp, sal_Int16 *set) +static inline void printIndex2(FILE *source_fp, sal_Int16 const *set) { #ifndef DICT_JA_ZH_IN_DATAFILE fputs ("static const sal_Int32 index2[] = {\n\t", source_fp); diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx index 18babd5c4cf0..90e866426d57 100644 --- a/i18npool/source/breakiterator/xdictionary.cxx +++ b/i18npool/source/breakiterator/xdictionary.cxx @@ -250,7 +250,7 @@ WordBreakCache::WordBreakCache() : * Compare two unicode string, */ -bool WordBreakCache::equals(const sal_Unicode* str, Boundary& boundary) +bool WordBreakCache::equals(const sal_Unicode* str, Boundary const & boundary) { // Different length, different string. if (length != boundary.endPos - boundary.startPos) return false; @@ -332,7 +332,7 @@ static sal_Int16 JapaneseCharType(sal_Unicode c) return KANJA; } -WordBreakCache& xdictionary::getCache(const sal_Unicode *text, Boundary& wordBoundary) +WordBreakCache& xdictionary::getCache(const sal_Unicode *text, Boundary const & wordBoundary) { WordBreakCache& rCache = cache[text[0] & 0x1f]; diff --git a/i18npool/source/inputchecker/inputsequencechecker.cxx b/i18npool/source/inputchecker/inputsequencechecker.cxx index ed6f12c59d20..5bb3ac320d98 100644 --- a/i18npool/source/inputchecker/inputsequencechecker.cxx +++ b/i18npool/source/inputchecker/inputsequencechecker.cxx @@ -106,7 +106,7 @@ InputSequenceCheckerImpl::getLanguageByScripType(sal_Unicode cChar, sal_Unicode } Reference< XExtendedInputSequenceChecker >& SAL_CALL -InputSequenceCheckerImpl::getInputSequenceChecker(sal_Char* rLanguage) +InputSequenceCheckerImpl::getInputSequenceChecker(sal_Char const * rLanguage) { if (cachedItem && cachedItem->aLanguage == rLanguage) { return cachedItem->xISC; diff --git a/i18npool/source/transliteration/transliterationImpl.cxx b/i18npool/source/transliteration/transliterationImpl.cxx index cadc35d1504c..cbd4ada13e61 100644 --- a/i18npool/source/transliteration/transliterationImpl.cxx +++ b/i18npool/source/transliteration/transliterationImpl.cxx @@ -595,7 +595,7 @@ namespace class theTransBodyMutex : public rtl::Static<osl::Mutex, theTransBodyMutex> {}; } -void TransliterationImpl::loadBody( OUString &implName, Reference<XExtendedTransliteration>& body ) +void TransliterationImpl::loadBody( OUString const &implName, Reference<XExtendedTransliteration>& body ) { assert(!implName.isEmpty()); ::osl::MutexGuard guard(theTransBodyMutex::get()); |