summaryrefslogtreecommitdiff
path: root/hwpfilter/source/formula.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/formula.cxx')
-rw-r--r--hwpfilter/source/formula.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/hwpfilter/source/formula.cxx b/hwpfilter/source/formula.cxx
index 362039a0036a..119bd7642355 100644
--- a/hwpfilter/source/formula.cxx
+++ b/hwpfilter/source/formula.cxx
@@ -88,24 +88,24 @@ void Formula::makeLines(Node *res)
void Formula::makeLine(Node *res)
{
- if( !res ) return;
+ if( !res ) return;
#ifdef DEBUG
- inds; fprintf(stderr,"<math:mrow>\n");
+ inds; fprintf(stderr,"<math:mrow>\n");
#else
- rstartEl("math:mrow", mxList.get());
+ rstartEl("math:mrow", mxList.get());
#endif
- if( res->child )
+ if( res->child )
makeExprList( res->child );
#ifdef DEBUG
- inde; fprintf(stderr,"</math:mrow>\n");
+ inde; fprintf(stderr,"</math:mrow>\n");
#else
- rendEl("math:mrow");
+ rendEl("math:mrow");
#endif
}
void Formula::makeExprList(Node *res)
{
- if( !res ) return;
+ if( !res ) return;
Node *tmp = res->child;
if( !tmp ) return ;
@@ -121,7 +121,7 @@ void Formula::makeExprList(Node *res)
void Formula::makeExpr(Node *res)
{
- if( !res ) return;
+ if( !res ) return;
Node *tmp = res->child;
if( !tmp ) return;
switch( tmp->id ) {
@@ -184,10 +184,10 @@ void Formula::makeExpr(Node *res)
void Formula::makeIdentifier(Node *res)
{
- Node *tmp = res;
- if( !tmp ) return;
- if( !tmp->value ) return;
- switch( tmp->id ){
+ Node *tmp = res;
+ if( !tmp ) return;
+ if( !tmp->value ) return;
+ switch( tmp->id ){
case ID_CHARACTER :
#ifdef DEBUG
inds;