diff --git a/Source/cmDocumentationFormatterDocbook.cxx b/Source/cmDocumentationFormatterDocbook.cxx index 9ff784701a..a2ae20b15f 100644 --- a/Source/cmDocumentationFormatterDocbook.cxx +++ b/Source/cmDocumentationFormatterDocbook.cxx @@ -196,7 +196,7 @@ void cmDocumentationFormatterDocbook void cmDocumentationFormatterDocbook ::PrintHeader(const char* docname, const char* appname, std::ostream& os) { - this->docname = docname; + this->Docname = docname; // this one is used to ensure that we don't create multiple link targets // with the same name. We can clear it here since we are at the @@ -229,7 +229,7 @@ void cmDocumentationFormatterDocbook { id = std::string(prefix) + "." + id; } - os << this->docname << '.' << id; + os << this->Docname << '.' << id; // make sure that each id exists only once. Since it seems // not easily possible to determine which link refers to which id, diff --git a/Source/cmDocumentationFormatterDocbook.h b/Source/cmDocumentationFormatterDocbook.h index 6c969002f9..0352d342a4 100644 --- a/Source/cmDocumentationFormatterDocbook.h +++ b/Source/cmDocumentationFormatterDocbook.h @@ -37,7 +37,7 @@ public: private: void PrintId(std::ostream& os, const char* prefix, std::string id); std::set EmittedLinkIds; - std::string docname; + std::string Docname; }; #endif