diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-26 14:40:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-26 14:40:50 (GMT) |
commit | d1e058b9c1f93aa0a986dbc8a754c5eabd747e27 (patch) | |
tree | 5dadd9d3fae88b0d9e37182ea073e60ebe3197a5 /src/docbookgen.h | |
parent | c42c0ae66542e4e154c2646fc725890554208d89 (diff) | |
parent | a5c98ade388f4f18ec30476ca706760a8129c73f (diff) | |
download | Doxygen-d1e058b9c1f93aa0a986dbc8a754c5eabd747e27.zip Doxygen-d1e058b9c1f93aa0a986dbc8a754c5eabd747e27.tar.gz Doxygen-d1e058b9c1f93aa0a986dbc8a754c5eabd747e27.tar.bz2 |
Merge branch 'master' into feature/bug_fenced_code
Diffstat (limited to 'src/docbookgen.h')
-rw-r--r-- | src/docbookgen.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/docbookgen.h b/src/docbookgen.h index 8f71722..64e9e67 100644 --- a/src/docbookgen.h +++ b/src/docbookgen.h @@ -104,12 +104,12 @@ class DocbookGenerator : public OutputGenerator // generic generator methods /////////////////////////////////////////////////////////////// void enable() - { if (genStack->top()) active=*genStack->top(); else active=TRUE; } - void disable() { active=FALSE; } + { if (m_genStack->top()) m_active=*m_genStack->top(); else m_active=TRUE; } + void disable() { m_active=FALSE; } void enableIf(OutputType o) { if (o==Docbook) enable(); } void disableIf(OutputType o) { if (o==Docbook) disable(); } void disableIfNot(OutputType o) { if (o!=Docbook) disable(); } - bool isEnabled(OutputType o) { return (o==Docbook && active); } + bool isEnabled(OutputType o) { return (o==Docbook && m_active); } OutputGenerator *get(OutputType o) { return (o==Docbook) ? this : 0; } // --- CodeOutputInterface |