summaryrefslogtreecommitdiff
path: root/cpp/src/slice2html/Gen.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2007-12-19 16:13:02 +1000
committerMichi Henning <michi@zeroc.com>2007-12-19 16:13:02 +1000
commit7098acb253f36d4776e49aa3bd7b17a450a914c8 (patch)
treefaced94cb4b55601ab4a284d7218f73af293f2ef /cpp/src/slice2html/Gen.cpp
parentBug 2429. (diff)
downloadice-7098acb253f36d4776e49aa3bd7b17a450a914c8.tar.bz2
ice-7098acb253f36d4776e49aa3bd7b17a450a914c8.tar.xz
ice-7098acb253f36d4776e49aa3bd7b17a450a914c8.zip
Part of bug 2428. <h1> element now uses scoped name.
Diffstat (limited to 'cpp/src/slice2html/Gen.cpp')
-rw-r--r--cpp/src/slice2html/Gen.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/slice2html/Gen.cpp b/cpp/src/slice2html/Gen.cpp
index 3cd022c2b90..3e1ae771778 100644
--- a/cpp/src/slice2html/Gen.cpp
+++ b/cpp/src/slice2html/Gen.cpp
@@ -1902,7 +1902,7 @@ Slice::ModuleGenerator::generate(const ModulePtr& m)
_out << nl << "<hr>";
start("h1", "Symbol");
- _out << toString(m, m->container(), true);
+ _out << m->scoped().substr(2);
end();
string metadata, deprecateReason;
@@ -2224,7 +2224,7 @@ Slice::ExceptionGenerator::generate(const ExceptionPtr& e)
_out << nl << "<hr>";
start("h1", "Symbol");
- _out << toString(e, e, true);
+ _out << e->scoped().substr(2);
end();
string metadata, deprecateReason;
@@ -2342,7 +2342,7 @@ Slice::ClassGenerator::generate(const ClassDefPtr& c)
_out << nl << "<hr>";
start("h1", "Symbol");
- _out << toString(c, c, true);
+ _out << c->scoped().substr(2);
end();
string metadata, deprecateReason;
@@ -2546,7 +2546,7 @@ Slice::StructGenerator::generate(const StructPtr& s)
_out << nl << "<hr>";
start("h1", "Symbol");
- _out << toString(s, s, true);
+ _out << s->scoped().substr(2);
end();
string metadata, deprecateReason;
@@ -2654,7 +2654,7 @@ Slice::EnumGenerator::generate(const EnumPtr& e)
_out << nl << "<hr>";
start("h1", "Symbol");
- _out << toString(e, e->container(), true);
+ _out << e->scoped().substr(2);
end();
string metadata, deprecateReason;