[Libreoffice-commits] core.git: editeng/source sc/source

Julien Nabet serval2412 at yahoo.fr
Sun Jan 4 06:40:06 PST 2015


 editeng/source/editeng/impedit4.cxx |   10 +++++-----
 sc/source/core/data/documen8.cxx    |    6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit d279115a14faab0005c4dd20e2b2be43a4849b18
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Tue Feb 3 15:39:54 2015 +0100

    Typo: translitaration->transliteration
    
    Change-Id: If722e7d025db65b72419499f1443d5f0cda609dd

diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index 63932c9..5494413 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -2740,8 +2740,8 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection,
     bool bLenChanged = false;
     EditUndoTransliteration* pUndo = NULL;
 
-    utl::TransliterationWrapper aTranslitarationWrapper( ::comphelper::getProcessComponentContext(), nTransliterationMode );
-    bool bConsiderLanguage = aTranslitarationWrapper.needLanguageForTheMode();
+    utl::TransliterationWrapper aTransliterationWrapper( ::comphelper::getProcessComponentContext(), nTransliterationMode );
+    bool bConsiderLanguage = aTransliterationWrapper.needLanguageForTheMode();
 
     for ( sal_Int32 nNode = nStartNode; nNode <= nEndNode; nNode++ )
     {
@@ -2814,7 +2814,7 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection,
 #endif
 
                 Sequence< sal_Int32 > aOffsets;
-                OUString aNewText( aTranslitarationWrapper.transliterate(aNodeStr,
+                OUString aNewText( aTransliterationWrapper.transliterate(aNodeStr,
                         GetLanguage( EditPaM( pNode, nCurrentStart + 1 ) ),
                         nCurrentStart, nLen, &aOffsets ));
 
@@ -2902,7 +2902,7 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection,
 #endif
 
                 Sequence< sal_Int32 > aOffsets;
-                OUString aNewText( aTranslitarationWrapper.transliterate( aNodeStr,
+                OUString aNewText( aTransliterationWrapper.transliterate( aNodeStr,
                         GetLanguage( EditPaM( pNode, nCurrentStart + 1 ) ),
                         nCurrentStart, nLen, &aOffsets ));
 
@@ -2942,7 +2942,7 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection,
                 const sal_Int32 nLen = nCurrentEnd - nCurrentStart;
 
                 Sequence< sal_Int32 > aOffsets;
-                OUString aNewText( aTranslitarationWrapper.transliterate( aNodeStr, nLanguage, nCurrentStart, nLen, &aOffsets ) );
+                OUString aNewText( aTransliterationWrapper.transliterate( aNodeStr, nLanguage, nCurrentStart, nLen, &aOffsets ) );
 
                 if (aNodeStr != aNewText.copy( nCurrentStart, nLen ))
                 {
diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx
index ee3bd90..7d7eca8 100644
--- a/sc/source/core/data/documen8.cxx
+++ b/sc/source/core/data/documen8.cxx
@@ -1200,8 +1200,8 @@ void ScDocument::TransliterateText( const ScMarkData& rMultiMark, sal_Int32 nTyp
 {
     OSL_ENSURE( rMultiMark.IsMultiMarked(), "TransliterateText: no selection" );
 
-    utl::TransliterationWrapper aTranslitarationWrapper( comphelper::getProcessComponentContext(), nType );
-    bool bConsiderLanguage = aTranslitarationWrapper.needLanguageForTheMode();
+    utl::TransliterationWrapper aTransliterationWrapper( comphelper::getProcessComponentContext(), nType );
+    bool bConsiderLanguage = aTransliterationWrapper.needLanguageForTheMode();
     sal_uInt16 nLanguage = LANGUAGE_SYSTEM;
 
     boost::scoped_ptr<ScEditEngineDefaulter> pEngine;        // not using pEditEngine member because of defaults
@@ -1300,7 +1300,7 @@ void ScDocument::TransliterateText( const ScMarkData& rMultiMark, sal_Int32 nTyp
                     }
 
                     uno::Sequence<sal_Int32> aOffsets;
-                    OUString aNewStr = aTranslitarationWrapper.transliterate( aOldStr, nLanguage, 0, nOldLen, &aOffsets );
+                    OUString aNewStr = aTransliterationWrapper.transliterate( aOldStr, nLanguage, 0, nOldLen, &aOffsets );
 
                     if ( aNewStr != aOldStr )
                     {


More information about the Libreoffice-commits mailing list