summaryrefslogtreecommitdiffstats
path: root/Source/CPack/WiX/cmWIXRichTextFormatWriter.h
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2014-02-24 22:21:12 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2014-02-26 13:15:13 (GMT)
commit6fcd835c0786182c4981f9f640849c5c91100845 (patch)
tree175f71ff77a77de6a93b348d145c0ead7df455e1 /Source/CPack/WiX/cmWIXRichTextFormatWriter.h
parentc859d176a15326cd1ef7b5c35908f28313d1be19 (diff)
downloadCMake-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.h8
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();