summaryrefslogtreecommitdiffstats
path: root/Source/CPack/WiX/cmWIXSourceWriter.h
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2013-10-23 10:14:39 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-26 14:15:19 (GMT)
commitfe7f8c99a459f93df594a8e5c5f49389d71ae128 (patch)
tree193c19944985976c6ddbe7343cc33879286fecb0 /Source/CPack/WiX/cmWIXSourceWriter.h
parent20c0a6a0add0380290adab4989425d0b26e38d24 (diff)
downloadCMake-fe7f8c99a459f93df594a8e5c5f49389d71ae128.zip
CMake-fe7f8c99a459f93df594a8e5c5f49389d71ae128.tar.gz
CMake-fe7f8c99a459f93df594a8e5c5f49389d71ae128.tar.bz2
CPackWiX: use safe IDs for generated start menu shortcuts
Diffstat (limited to 'Source/CPack/WiX/cmWIXSourceWriter.h')
-rw-r--r--Source/CPack/WiX/cmWIXSourceWriter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CPack/WiX/cmWIXSourceWriter.h b/Source/CPack/WiX/cmWIXSourceWriter.h
index 1dafc1f..0c7803c 100644
--- a/Source/CPack/WiX/cmWIXSourceWriter.h
+++ b/Source/CPack/WiX/cmWIXSourceWriter.h
@@ -32,7 +32,7 @@ public:
void BeginElement(const std::string& name);
- void EndElement();
+ void EndElement(const std::string& name);
void AddProcessingInstruction(
const std::string& target, const std::string& content);
@@ -62,6 +62,8 @@ private:
State state;
std::vector<std::string> elements;
+
+ std::string sourceFilename;
};
#endif