[Libreoffice-commits] .: automation/source basic/inc basic/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Nov 25 12:28:39 PST 2011
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(-)
New commits:
commit 7e9eda006be9a1af14a8e8a6cb4a20cf2171de13
Author: mikew <mikew at whiteley.org>
Date: Fri Nov 25 10:22:17 2011 -0800
Fixed spelling: Spechial -> Special
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 2cfed14..23205c5 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:
More information about the Libreoffice-commits
mailing list