diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-09 20:42:35 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-09 20:42:35 (GMT) |
commit | 02b35985cda1a537c45071f1245b2c4a6dc4ffc6 (patch) | |
tree | f156f1b4a001d5233279e7e3dcd8e354de92dbbf /src | |
parent | 8e47b4bc5084cb00e5bdcdaa4c1bd048b48a4999 (diff) | |
download | Doxygen-02b35985cda1a537c45071f1245b2c4a6dc4ffc6.zip Doxygen-02b35985cda1a537c45071f1245b2c4a6dc4ffc6.tar.gz Doxygen-02b35985cda1a537c45071f1245b2c4a6dc4ffc6.tar.bz2 |
Bug 736033 - [PATCH] Cleanup redundant if/else branch in src/translator_tw.h
Diffstat (limited to 'src')
-rw-r--r-- | src/translator_tw.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/translator_tw.h b/src/translator_tw.h index 581d7fe..e8c1123 100644 --- a/src/translator_tw.h +++ b/src/translator_tw.h @@ -749,8 +749,7 @@ class TranslatorChinesetraditional : public Translator /*! This is put at the bottom of a class documentation page and is * followed by a list of files that were used to generate the page. */ - virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, - bool single) + virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,bool) { // here s is one of " Class", " Struct" or " Union" // single is true implies a single file QCString result=(QCString)"此"; @@ -766,7 +765,7 @@ class TranslatorChinesetraditional : public Translator default: break; } result+=" 文件是由下列檔案中產生"; - if (single) result+=":"; else result+=":"; + result+=":"; return result; } |