From e578e2b7855d0b474eed5b1ef6b808ba25295c06 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Tue, 5 Mar 2019 21:36:50 +0100 Subject: Typo: unexpectend->unexpected Change-Id: Id7aface81f907afdb046a22f1a64641718391000 Reviewed-on: https://gerrit.libreoffice.org/68776 Tested-by: Jenkins Reviewed-by: Julien Nabet --- linguistic/source/hyphdsp.cxx | 6 +++--- linguistic/source/hyphdta.cxx | 2 +- linguistic/source/spelldsp.cxx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'linguistic') diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx index b15ec9c15807..38cd240c2b76 100644 --- a/linguistic/source/hyphdsp.cxx +++ b/linguistic/source/hyphdsp.cxx @@ -299,7 +299,7 @@ Reference< XHyphenatedWord > SAL_CALL // replace typographical apostroph by ascii apostroph OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() ); - DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpectend length of quotation mark" ); + DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" ); if (!aSingleQuote.isEmpty()) aChkWord = aChkWord.replace( aSingleQuote[0], '\'' ); @@ -434,7 +434,7 @@ Reference< XHyphenatedWord > SAL_CALL // replace typographical apostroph by ascii apostroph OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() ); - DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpectend length of quotation mark" ); + DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" ); if (!aSingleQuote.isEmpty()) aChkWord = aChkWord.replace( aSingleQuote[0], '\'' ); @@ -559,7 +559,7 @@ Reference< XPossibleHyphens > SAL_CALL // replace typographical apostroph by ascii apostroph OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() ); - DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpectend length of quotation mark" ); + DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" ); if (!aSingleQuote.isEmpty()) aChkWord = aChkWord.replace( aSingleQuote[0], '\'' ); diff --git a/linguistic/source/hyphdta.cxx b/linguistic/source/hyphdta.cxx index 278eaa0d279f..3996fc5fb994 100644 --- a/linguistic/source/hyphdta.cxx +++ b/linguistic/source/hyphdta.cxx @@ -49,7 +49,7 @@ HyphenatedWord::HyphenatedWord(const OUString &rWord, LanguageType nLang, sal_In nLanguage (nLang) { OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() ); - DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpectend length of quotation mark" ); + DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" ); if (!aSingleQuote.isEmpty()) { // ignore typographical apostrophes (which got replaced in original diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx index 3103d1c7ef1c..522ee43a96e5 100644 --- a/linguistic/source/spelldsp.cxx +++ b/linguistic/source/spelldsp.cxx @@ -285,7 +285,7 @@ bool SpellCheckerDispatcher::isValid_Impl( // replace typographical apostroph by ascii apostroph OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() ); - DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpectend length of quotation mark" ); + DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" ); if (!aSingleQuote.isEmpty()) aChkWord = aChkWord.replace( aSingleQuote[0], '\'' ); @@ -448,7 +448,7 @@ Reference< XSpellAlternatives > SpellCheckerDispatcher::spell_Impl( // replace typographical apostroph by ascii apostroph OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() ); - DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpectend length of quotation mark" ); + DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" ); if (!aSingleQuote.isEmpty()) aChkWord = aChkWord.replace( aSingleQuote[0], '\'' ); -- cgit