Kaydet (Commit) c3dc4672 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:constantfunction: hwpfilter

Change-Id: I2504291e2167cbc4be91e01de654ca63f89dbd2a
üst 1c347666
......@@ -165,7 +165,6 @@ void Formula::makeExpr(Node *res)
makeRoot(tmp);
break;
case ID_ARROWEXPR:
makeArrow(tmp);
break;
case ID_ACCENTEXPR:
makeAccent(tmp);
......@@ -181,10 +180,8 @@ void Formula::makeExpr(Node *res)
makeBlock(tmp);
//fall-through
case ID_BEGIN:
makeBegin(tmp);
//fall-through
case ID_END:
makeEnd(tmp);
break;
}
}
......@@ -463,10 +460,6 @@ void Formula::makeRoot(Node *res)
rendEl("math:mroot");
#endif
}
// DVO: add space to avoid warning
void Formula::makeArrow(Node * /*res*/)
{
}
void Formula::makeAccent(Node *res)
{
makeDecoration( res );
......@@ -575,16 +568,6 @@ void Formula::makeBlock(Node *res)
#endif
}
// DVO: add space to avoid warning
void Formula::makeBegin(Node * /*res*/)
{
}
// DVO: add space to avoid warning
void Formula::makeEnd(Node * /*res*/)
{
}
int Formula::parse()
{
Node *res = 0L;
......
......@@ -70,14 +70,11 @@ private:
void makeDecoration(Node *res);
void makeFunction(Node *res);
void makeRoot(Node *res);
void makeArrow(Node *res);
void makeAccent(Node *res);
void makeParenth(Node *res);
void makeFence(Node *res);
void makeBracket(Node *res);
void makeBlock(Node *res);
void makeBegin(Node *res);
void makeEnd(Node *res);
private:
Reference< XDocumentHandler > m_rxDocumentHandler;
......
......@@ -3082,13 +3082,11 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
if( !pstart ) {STARTP;}
if( !tstart ) {STARTT;}
makeChars(str);
makeTocMark(static_cast<TocMark *>(para->hhstr[n]));
break;
case CH_INDEX_MARK: // 26
if( !pstart ) {STARTP;}
if( !tstart ) {STARTT;}
makeChars(str);
makeIndexMark(static_cast<IndexMark *>(para->hhstr[n]));
break;
case CH_OUTLINE: // 28
if( !pstart ) {STARTP;}
......@@ -4749,24 +4747,6 @@ void HwpReader::makeMailMerge(MailMerge * hbox)
}
/**
* Make heading contents file using toc marks
* not support operation.
*/
void HwpReader::makeTocMark(TocMark * ) /*hbox */
{
}
/**
* Make search character table in automatic
* not support operation
*/
void HwpReader::makeIndexMark(IndexMark * ) /*hbox */
{
}
void HwpReader::makeOutline(Outline * hbox)
{
if( hbox->kind == 1 )
......
......@@ -134,8 +134,6 @@ private:
void makeAutoNum(AutoNum *hbox);
void makeShowPageNum();
void makeMailMerge(MailMerge *hbox);
void makeTocMark(TocMark *hbox);
void makeIndexMark(IndexMark *hbox);
void makeOutline(Outline *hbox);
/* --------- Styles Parsing ------------ */
......
......@@ -84,8 +84,6 @@ public:
printf("Node count : [%d]\n",count);
#endif
}
void print(){
}
public:
static int count; /* For memory debugging */
int id;
......
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