diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2014-02-24 22:21:12 (GMT) |
---|---|---|
committer | Nils Gladitz <nilsgladitz@gmail.com> | 2014-02-26 13:15:13 (GMT) |
commit | 6fcd835c0786182c4981f9f640849c5c91100845 (patch) | |
tree | 175f71ff77a77de6a93b348d145c0ead7df455e1 /Source/CPack/WiX/cmWIXRichTextFormatWriter.h | |
parent | c859d176a15326cd1ef7b5c35908f28313d1be19 (diff) | |
download | CMake-6fcd835c0786182c4981f9f640849c5c91100845.zip CMake-6fcd835c0786182c4981f9f640849c5c91100845.tar.gz CMake-6fcd835c0786182c4981f9f640849c5c91100845.tar.bz2 |
CPackWIX: refactor and cleanup
Extract addtional classes and functions which are getting unsightly large.
Use some of the coding conventions more consistently.
Diffstat (limited to 'Source/CPack/WiX/cmWIXRichTextFormatWriter.h')
-rw-r--r-- | Source/CPack/WiX/cmWIXRichTextFormatWriter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CPack/WiX/cmWIXRichTextFormatWriter.h b/Source/CPack/WiX/cmWIXRichTextFormatWriter.h index 2b665d4..f6327fb 100644 --- a/Source/CPack/WiX/cmWIXRichTextFormatWriter.h +++ b/Source/CPack/WiX/cmWIXRichTextFormatWriter.h @@ -22,10 +22,10 @@ class cmWIXRichTextFormatWriter { public: - cmWIXRichTextFormatWriter(const std::string& filename); + cmWIXRichTextFormatWriter(std::string const& filename); ~cmWIXRichTextFormatWriter(); - void AddText(const std::string& text); + void AddText(std::string const& text); private: void WriteHeader(); @@ -35,8 +35,8 @@ private: void WriteDocumentPrefix(); - void ControlWord(const std::string& keyword); - void NewControlWord(const std::string& keyword); + void ControlWord(std::string const& keyword); + void NewControlWord(std::string const& keyword); void StartGroup(); void EndGroup(); |