summaryrefslogtreecommitdiff
path: root/svtools/source/svrtf
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-10 22:41:25 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-12 10:47:16 +0200
commit3a5edbe5692cbddc8e6e25c73a7cacf7f7142bfb (patch)
tree7696b167d80cfa60de77191b5bf7bcd7f663486a /svtools/source/svrtf
parentfdad46f310569cb57fb618345647167b6fdda198 (diff)
Fix typos
Change-Id: I837907cc584b048f7c8f902a857cf0c473d649a5 Reviewed-on: https://gerrit.libreoffice.org/77252 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svtools/source/svrtf')
-rw-r--r--svtools/source/svrtf/parrtf.cxx4
-rw-r--r--svtools/source/svrtf/svparser.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/svrtf/parrtf.cxx b/svtools/source/svrtf/parrtf.cxx
index 9f0a644fd2c8..2a081bb803e9 100644
--- a/svtools/source/svrtf/parrtf.cxx
+++ b/svtools/source/svrtf/parrtf.cxx
@@ -539,7 +539,7 @@ void SvRTFParser::SkipGroup()
if (_inSkipGroup>0)
return;
_inSkipGroup++;
-//#i16185# fecking \bin keyword
+//#i16185# faking \bin keyword
do
{
switch (nNextCh)
@@ -625,7 +625,7 @@ void SvRTFParser::Continue( int nToken )
break;
case '{':
- // a unknown group ?
+ // an unknown group ?
{
if( RTF_IGNOREFLAG != GetNextToken() )
nToken = SkipToken();
diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx
index f75314e6a42a..a2f41e8e62eb 100644
--- a/svtools/source/svrtf/svparser.cxx
+++ b/svtools/source/svrtf/svparser.cxx
@@ -338,7 +338,7 @@ sal_uInt32 SvParser<T>::GetNextChar()
else if( 0 != nChars || 0 != nInfo )
{
DBG_ASSERT( (nInfo&RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOOSMALL) == 0,
- "source buffer is to small" );
+ "source buffer is too small" );
DBG_ASSERT( (nInfo&~(RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOOSMALL)) == 0,
"there is a conversion error" );
DBG_ASSERT( 0 == nChars,
@@ -382,7 +382,7 @@ sal_uInt32 SvParser<T>::GetNextChar()
else
{
DBG_ASSERT( (nInfo&RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOOSMALL) == 0,
- "source buffer is to small" );
+ "source buffer is too small" );
DBG_ASSERT( (nInfo&~(RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOOSMALL)) == 0,
"there is a conversion error" );
DBG_ASSERT( 0 == nChars,