You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2020/09/27 19:50:29 UTC

[openoffice] branch trunk updated: Fixed typo (errror -> error)

This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 9c3cb57  Fixed typo (errror -> error)
9c3cb57 is described below

commit 9c3cb57a3fc95052cf38f1786de15fb3a9d9ea0c
Author: mseidel <ms...@apache.org>
AuthorDate: Sun Sep 27 21:49:53 2020 +0200

    Fixed typo (errror -> error)
---
 main/cui/source/dialogs/SpellDialog.cxx       | 4 ++--
 main/idlc/source/errorhandler.cxx             | 2 +-
 main/sd/source/ui/view/sdview3.cxx            | 2 +-
 main/solenv/bin/gen_userfeedback_VCL_names.pl | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/main/cui/source/dialogs/SpellDialog.cxx b/main/cui/source/dialogs/SpellDialog.cxx
index efb6471..e6eb5a7 100644
--- a/main/cui/source/dialogs/SpellDialog.cxx
+++ b/main/cui/source/dialogs/SpellDialog.cxx
@@ -1270,7 +1270,7 @@ bool SpellDialog::GetNextSentence_Impl(bool bUseSavedSentence, bool bRecheck)
     return bRet;
 }
 /*-- 12.11.2003 15:21:25---------------------------------------------------
-    replace errrors that have a replacement in the ChangeAllList
+    replace errors that have a replacement in the ChangeAllList
     returns false if the result doesn't contain errors after the replacement
   -----------------------------------------------------------------------*/
 bool SpellDialog::ApplyChangeAllList_Impl(SpellPortions& rSentence, bool &bHasReplaced)
@@ -1772,7 +1772,7 @@ void SentenceEditWindow_Impl::ChangeMarkedWord(const String& rNewWord, LanguageT
     //calculate length changes
     long nDiffLen = rNewWord.Len() - m_nErrorEnd + m_nErrorStart;
     TextSelection aSel(TextPaM(0, m_nErrorStart), TextPaM(0, m_nErrorEnd));
-    //Remove spell errror attribute
+    //Remove spell error attribute
     ExtTextEngine* pTextEngine = GetTextEngine();
     pTextEngine->UndoActionStart();
     const TextCharAttrib*  pErrorAttrib = pTextEngine->FindCharAttrib( TextPaM(0, m_nErrorStart), TEXTATTR_SPELL_ERROR );
diff --git a/main/idlc/source/errorhandler.cxx b/main/idlc/source/errorhandler.cxx
index 7a379cb..a0c4882 100644
--- a/main/idlc/source/errorhandler.cxx
+++ b/main/idlc/source/errorhandler.cxx
@@ -162,7 +162,7 @@ static const sal_Char* errorCodeToMessage(ErrorCode eCode)
     case EIDL_SIMILAR_CONSTRUCTORS:
         return "two constructors have identical lists of parameter types";
 	}
-	return "unknown errror";
+	return "unknown error";
 }	
 
 static const sal_Char* warningCodeToMessage(WarningCode wCode)
diff --git a/main/sd/source/ui/view/sdview3.cxx b/main/sd/source/ui/view/sdview3.cxx
index 9ab2379..0697bb8 100644
--- a/main/sd/source/ui/view/sdview3.cxx
+++ b/main/sd/source/ui/view/sdview3.cxx
@@ -173,7 +173,7 @@ if( aPreviewSizePixel.Width() && aPreviewSizePixel.Height() )
 
 	if( GraphicConverter::Export( aSvOutputStream, aMtfGraphic.GetBitmapEx( &aPreviewSizePixel ), CVT_PNG ) )
 	{
-		// handle errror case here
+		// handle error case here
 	}
 	else
 	{
diff --git a/main/solenv/bin/gen_userfeedback_VCL_names.pl b/main/solenv/bin/gen_userfeedback_VCL_names.pl
index 94dd57b..6dde84a 100755
--- a/main/solenv/bin/gen_userfeedback_VCL_names.pl
+++ b/main/solenv/bin/gen_userfeedback_VCL_names.pl
@@ -55,7 +55,7 @@ for (<HID>) {
 
   if ( exists $hids{$upperlongname} && ( $hids{$upperlongname} != $ID ) )
   {
-    print STDERR "errror: unclear definition of longname: $longname = $hids{$upperlongname} or $ID\n";
+    print STDERR "error: unclear definition of longname: $longname = $hids{$upperlongname} or $ID\n";
   }
   $hids{$upperlongname} = $ID;
 
@@ -117,7 +117,7 @@ foreach ( glob("$winpath/*win") ) {
       $upperlongname =~ tr/a-z/A-Z/;
       if ( $shortname !~ /^[\+\*]/ && !exists $hids{$upperlongname} )
       {
-        print STDERR "errror: Longname not in hid.lst: $filename $longname\n";
+        print STDERR "error: Longname not in hid.lst: $filename $longname\n";
       }
       if ( exists $hids{$upperlongname} )
       {