diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-09 20:41:26 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-09 20:41:26 (GMT) |
commit | 8e47b4bc5084cb00e5bdcdaa4c1bd048b48a4999 (patch) | |
tree | 5357a017f78e34ccc10c3d6942f969531b2ec747 /src/translator_vi.h | |
parent | 4afe088327ae6780c9c8a73b7b2d3994005f6cca (diff) | |
download | Doxygen-8e47b4bc5084cb00e5bdcdaa4c1bd048b48a4999.zip Doxygen-8e47b4bc5084cb00e5bdcdaa4c1bd048b48a4999.tar.gz Doxygen-8e47b4bc5084cb00e5bdcdaa4c1bd048b48a4999.tar.bz2 |
Bug 736034 - [PATCH] Cleanup redundant if/else branch in src/translator_vi.h
Diffstat (limited to 'src/translator_vi.h')
-rw-r--r-- | src/translator_vi.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/translator_vi.h b/src/translator_vi.h index 54c68b8..dd0a8f1 100644 --- a/src/translator_vi.h +++ b/src/translator_vi.h @@ -749,8 +749,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 /*! 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)"Thông tin cho "; @@ -766,7 +765,7 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 default: break; } result+=" được biên soạn từ các file sau đây"; - if (single) result+=":"; else result+=":"; + result+=":"; return result; } @@ -1501,10 +1500,9 @@ class TranslatorVietnamese : public TranslatorAdapter_1_6_0 /*! This returns the word directory with or without starting capital * (\a first_capital) and in sigular or plural form (\a singular). */ - virtual QCString trDir(bool first_capital, bool singular) + virtual QCString trDir(bool first_capital, bool) { QCString result((first_capital ? "Thư mục" : "thư mục")); - if (singular) result+=""; else result+=""; return result; } |