diff options
author | Michi Henning <michi@zeroc.com> | 2002-07-18 05:32:10 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2002-07-18 05:32:10 +0000 |
commit | 815d8071e4a3bccb386578e11261bfc5dd56ffe9 (patch) | |
tree | 32c220646eb5710ca146721b4480231d0774ef69 /cpp/src | |
parent | align with C++ for facet path (diff) | |
download | ice-815d8071e4a3bccb386578e11261bfc5dd56ffe9.tar.bz2 ice-815d8071e4a3bccb386578e11261bfc5dd56ffe9.tar.xz ice-815d8071e4a3bccb386578e11261bfc5dd56ffe9.zip |
Fixed the sgml code generation that I broke yesterday. I said I'd slap
myself in the morning... :-)
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/slice2docbook/Gen.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cpp/src/slice2docbook/Gen.cpp b/cpp/src/slice2docbook/Gen.cpp index 93ba852fe66..22cccad3f72 100644 --- a/cpp/src/slice2docbook/Gen.cpp +++ b/cpp/src/slice2docbook/Gen.cpp @@ -1248,6 +1248,19 @@ Slice::Gen::toString(const SyntaxTreeBasePtr& p, const ContainerPtr& container, tag = "function"; } + ParamDeclPtr pd = ParamDeclPtr::dynamicCast(p); + if(pd) + { + OperationPtr op = OperationPtr::dynamicCast(pd->container()); + assert(op); + if(withLink && pd->includeLevel() == 0) + { + linkend = containedToId(op); + } + s = getScopedMinimized(op, container); + tag = "function"; + } + if(s.empty()) { ContainedPtr contained = ContainedPtr::dynamicCast(p); |