Skip to content

Commit

Permalink
Cleanup: removed redundant =NULL from interfaces, or replaced by =0 w…
Browse files Browse the repository at this point in the history
…here it was needed.
  • Loading branch information
Dimitri van Heesch committed Nov 28, 2016
1 parent 8b13ee3 commit 3b8b2e1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/htmlgen.h
Expand Up @@ -140,7 +140,7 @@ class HtmlGenerator : public OutputGenerator
void startTitle() { t << "<div class=\"title\">"; }
void endTitle() { t << "</div>"; }

void startParagraph(const char *classDef = NULL);
void startParagraph(const char *classDef);
void endParagraph();
void writeString(const char *text);
void startIndexListItem();
Expand Down
2 changes: 1 addition & 1 deletion src/latexgen.h
Expand Up @@ -135,7 +135,7 @@ class LatexGenerator : public OutputGenerator
void endTitle() { t << "}"; }

void newParagraph();
void startParagraph(const char *classDef = NULL);
void startParagraph(const char *classDef);
void endParagraph();
void writeString(const char *text);
void startIndexListItem() {}
Expand Down
2 changes: 1 addition & 1 deletion src/mangen.h
Expand Up @@ -62,7 +62,7 @@ class ManGenerator : public OutputGenerator
void endTitle();

void newParagraph();
void startParagraph(const char *classDef = NULL);
void startParagraph(const char *classDef);
void endParagraph();
void writeString(const char *text);
void startIndexListItem() {}
Expand Down
2 changes: 1 addition & 1 deletion src/outputgen.h
Expand Up @@ -188,7 +188,7 @@ class BaseOutputDocInterface : public CodeOutputInterface
//virtual void newParagraph() = 0;

/*! Starts a new paragraph */
virtual void startParagraph(const char *classDef = NULL) = 0;
virtual void startParagraph(const char *classDef) = 0;
/*! Ends a paragraph */
virtual void endParagraph() = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/outputlist.h
Expand Up @@ -112,7 +112,7 @@ class OutputList : public OutputDocInterface
{ forall(&OutputGenerator::endTitle); }
//void newParagraph()
//{ forall(&OutputGenerator::newParagraph); }
void startParagraph(const char *classDef = NULL)
void startParagraph(const char *classDef=0)
{ forall(&OutputGenerator::startParagraph,classDef); }
void endParagraph()
{ forall(&OutputGenerator::endParagraph); }
Expand Down
2 changes: 1 addition & 1 deletion src/rtfgen.h
Expand Up @@ -62,7 +62,7 @@ class RTFGenerator : public OutputGenerator
void endTitle() {}

void newParagraph();
void startParagraph(const char *classDef = NULL);
void startParagraph(const char *classDef);
void endParagraph();
void writeString(const char *text);
void startIndexListItem();
Expand Down
2 changes: 1 addition & 1 deletion src/vhdldocgen.h
Expand Up @@ -315,7 +315,7 @@ class FlowChart
static void delFlowList();
static const char* getNodeType(int c);

static void addFlowChart(int type,const char* text,const char* exp,const char * label=NULL);
static void addFlowChart(int type,const char* text,const char* exp,const char * label=0);
static void moveToPrevLevel();
static int getTimeStamp();
static void writeFlowChart();
Expand Down

0 comments on commit 3b8b2e1

Please sign in to comment.