Kaydet (Commit) 1cc318bf authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Typo #elsif -> #elif

Change-Id: I95d4dc2a3364172e8917d0a029564e9114943148
üst 93657bdb
...@@ -313,7 +313,7 @@ long ...@@ -313,7 +313,7 @@ long
*op++ = UMINUS; *op++ = UMINUS;
if (tp->type == STAR || tp->type == AND) if (tp->type == STAR || tp->type == AND)
{ {
error(ERROR, "Illegal operator * or & in #if/#elsif"); error(ERROR, "Illegal operator * or & in #if/#elif");
return 0; return 0;
} }
continue; continue;
...@@ -380,7 +380,7 @@ long ...@@ -380,7 +380,7 @@ long
/* fall through */ /* fall through */
default: default:
error(ERROR, "Bad operator (%t) in #if/#elsif", tp); error(ERROR, "Bad operator (%t) in #if/#elif", tp);
return 0; return 0;
} }
} }
...@@ -390,14 +390,14 @@ long ...@@ -390,14 +390,14 @@ long
return 0; return 0;
if (op != &ops[1] || vp != &vals[1]) if (op != &ops[1] || vp != &vals[1])
{ {
error(ERROR, "Botch in #if/#elsif"); error(ERROR, "Botch in #if/#elif");
return 0; return 0;
} }
if (vals[0].type == UND) if (vals[0].type == UND)
error(ERROR, "Undefined expression value"); error(ERROR, "Undefined expression value");
return vals[0].val; return vals[0].val;
syntax: syntax:
error(ERROR, "Syntax error in #if/#elsif"); error(ERROR, "Syntax error in #if/#elif");
return 0; return 0;
} }
...@@ -679,7 +679,7 @@ struct value ...@@ -679,7 +679,7 @@ struct value
else else
{ {
error(ERROR, error(ERROR,
"Bad number %t in #if/#elsif", tp); "Bad number %t in #if/#elif", tp);
break; break;
} }
} }
...@@ -761,7 +761,7 @@ struct value ...@@ -761,7 +761,7 @@ struct value
break; break;
case STRING: case STRING:
error(ERROR, "String in #if/#elsif"); error(ERROR, "String in #if/#elif");
break; break;
} }
return v; return v;
......
...@@ -1181,7 +1181,7 @@ void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes, ...@@ -1181,7 +1181,7 @@ void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes,
pUndo->SaveCollection( *aPosArr[ i ].pSelBox ); pUndo->SaveCollection( *aPosArr[ i ].pSelBox );
aPosArr.Remove( nSttPos, n - nSttPos ); aPosArr.Remove( nSttPos, n - nSttPos );
} }
#elsif defined( DEL_EMPTY_BOXES_AT_START_AND_END ) #elif defined( DEL_EMPTY_BOXES_AT_START_AND_END )
nWidth = pFirstBox->GetFrmFmt()->GetFrmSize().GetWidth(); nWidth = pFirstBox->GetFrmFmt()->GetFrmSize().GetWidth();
sal_uInt16 n, nSttPos = 0, nSEndPos = 0, nESttPos = 0; sal_uInt16 n, nSttPos = 0, nSEndPos = 0, nESttPos = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment