Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Should replace all misspellings of Spechial to Special.

Spechial -> Special
SPECHIAL -> SPECIAL
From c73c5b0e714bec66ad386c34406568c08769446f Mon Sep 17 00:00:00 2001
From: mikew <mikew@whiteley.org>
Date: Fri, 25 Nov 2011 10:22:17 -0800
Subject: [PATCH] Fixed spelling: Spechial -> Special

---
 automation/source/app/testbasi.cxx |    2 +-
 automation/source/app/testbasi.hxx |    2 +-
 basic/inc/basic/mybasic.hxx        |    2 +-
 basic/source/app/mybasic.cxx       |    4 ++--
 basic/source/app/textedit.cxx      |   28 ++++++++++++++--------------
 5 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/automation/source/app/testbasi.cxx b/automation/source/app/testbasi.cxx
index 87ecf3e..c7a28d6 100644
--- a/automation/source/app/testbasi.cxx
+++ b/automation/source/app/testbasi.cxx
@@ -114,7 +114,7 @@ sal_Bool TTBasic::Compile( SbModule* p )
     return MyBasic::Compile( p );
 }
 
-const String TTBasic::GetSpechialErrorText()
+const String TTBasic::GetSpecialErrorText()
 {
     String nErrorText;
     if ( pTestObject && IS_ERROR() && GetErrorCode() == GET_ERROR()->nError )
diff --git a/automation/source/app/testbasi.hxx b/automation/source/app/testbasi.hxx
index c21f2d5..4f90d07 100644
--- a/automation/source/app/testbasi.hxx
+++ b/automation/source/app/testbasi.hxx
@@ -55,7 +55,7 @@ public:
 
     void LoadIniFile();
     SbTextType GetSymbolType( const String &Symbol, sal_Bool bWasTTControl );
-    virtual const String GetSpechialErrorText();
+    virtual const String GetSpecialErrorText();
     virtual void ReportRuntimeError( AppBasEd *pEditWin );
     virtual void DebugFindNoErrors( sal_Bool bDebugFindNoErrors );
 };
diff --git a/basic/inc/basic/mybasic.hxx b/basic/inc/basic/mybasic.hxx
index ad7df51..aae5fd7 100644
--- a/basic/inc/basic/mybasic.hxx
+++ b/basic/inc/basic/mybasic.hxx
@@ -89,7 +89,7 @@ public:
 
     // Determines the extended symbol type for syntax highlighting
     virtual SbTextType GetSymbolType( const String &Symbol, sal_Bool bWasTTControl );
-    virtual const String GetSpechialErrorText();
+    virtual const String GetSpecialErrorText();
     virtual void ReportRuntimeError( AppBasEd *pEditWin );
     virtual void DebugFindNoErrors( sal_Bool bDebugFindNoErrors );
 
diff --git a/basic/source/app/mybasic.cxx b/basic/source/app/mybasic.cxx
index 61a2c81..b3f6409 100644
--- a/basic/source/app/mybasic.cxx
+++ b/basic/source/app/mybasic.cxx
@@ -222,7 +222,7 @@ sal_Bool MyBasic::ErrorHdl()
 void MyBasic::ReportRuntimeError( AppBasEd *pEditWin )
 {
     String nErrorText;
-    nErrorText = GetSpechialErrorText();
+    nErrorText = GetSpecialErrorText();
 
     if ( pEditWin )     // just in case the focus is not right
         pEditWin->ToTop();
@@ -237,7 +237,7 @@ void MyBasic::DebugFindNoErrors( sal_Bool bDebugFindNoErrors )
     (void) bDebugFindNoErrors; /* avoid warning about unused parameter */
 }
 
-const String MyBasic::GetSpechialErrorText()
+const String MyBasic::GetSpecialErrorText()
 {
     return GetErrorText();
 }
diff --git a/basic/source/app/textedit.cxx b/basic/source/app/textedit.cxx
index a2226bd..1c88f91 100644
--- a/basic/source/app/textedit.cxx
+++ b/basic/source/app/textedit.cxx
@@ -148,44 +148,44 @@ void TextEditImp::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
     }
 }
 
-#define TEXTATTR_SPECHIAL   55
-class TextAttribSpechial : public TextAttrib
+#define TEXTATTR_SPECIAL   55
+class TextAttribSpecial : public TextAttrib
 {
 private:
     FontWeight  maFontWeight;
 
 public:
-    TextAttribSpechial( const FontWeight& rFontWeight );
-    TextAttribSpechial( const TextAttribSpechial& rAttr );
-    ~TextAttribSpechial() {;}
+    TextAttribSpecial( const FontWeight& rFontWeight );
+    TextAttribSpecial( const TextAttribSpecial& rAttr );
+    ~TextAttribSpecial() {;}
 
     virtual void            SetFont( Font& rFont ) const;
     virtual TextAttrib*     Clone() const;
     virtual int             operator==( const TextAttrib& rAttr ) const;
 };
 
-TextAttribSpechial::TextAttribSpechial( const FontWeight& rFontWeight )
-    : TextAttrib( TEXTATTR_SPECHIAL ), maFontWeight( rFontWeight )
+TextAttribSpecial::TextAttribSpecial( const FontWeight& rFontWeight )
+    : TextAttrib( TEXTATTR_SPECIAL ), maFontWeight( rFontWeight )
 {}
 
-TextAttribSpechial::TextAttribSpechial( const TextAttribSpechial& rAttr )
+TextAttribSpecial::TextAttribSpecial( const TextAttribSpecial& rAttr )
     : TextAttrib( rAttr ), maFontWeight( rAttr.maFontWeight )
 {}
 
-void TextAttribSpechial::SetFont( Font& rFont ) const
+void TextAttribSpecial::SetFont( Font& rFont ) const
 {
     rFont.SetWeight( maFontWeight );
 }
 
-TextAttrib* TextAttribSpechial::Clone() const
+TextAttrib* TextAttribSpecial::Clone() const
 {
-    return new TextAttribSpechial( *this );
+    return new TextAttribSpecial( *this );
 }
 
-int TextAttribSpechial::operator==( const TextAttrib& rAttr ) const
+int TextAttribSpecial::operator==( const TextAttrib& rAttr ) const
 {
     return ( ( TextAttrib::operator==(rAttr ) ) &&
-                ( maFontWeight == ((const TextAttribSpechial&)rAttr).maFontWeight ) );
+                ( maFontWeight == ((const TextAttribSpecial&)rAttr).maFontWeight ) );
 }
 
 void TextEditImp::ImpDoHighlight( const String& rSource, sal_uIntPtr nLineOff )
@@ -318,7 +318,7 @@ void TextEditImp::ImpDoHighlight( const String& rSource, sal_uIntPtr nLineOff )
             case TT_NOMETHOD:
                 {
                     aColor = Color( COL_RED );
-                    pTextEngine->SetAttrib( TextAttribSpechial( WEIGHT_BOLD ), nLine, r.nStart, 
r.nEnd+1 );
+                    pTextEngine->SetAttrib( TextAttribSpecial( WEIGHT_BOLD ), nLine, r.nStart, 
r.nEnd+1 );
                 }
                 break;
             default:
-- 
1.7.3.2


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.