diff options
Diffstat (limited to 'cpp/src/slice2confluence/Gen.cpp')
-rw-r--r-- | cpp/src/slice2confluence/Gen.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/src/slice2confluence/Gen.cpp b/cpp/src/slice2confluence/Gen.cpp index 88eda488445..f62bd1f6fb8 100644 --- a/cpp/src/slice2confluence/Gen.cpp +++ b/cpp/src/slice2confluence/Gen.cpp @@ -1392,14 +1392,14 @@ Slice::GeneratorBase::getLinkPath(const SyntaxTreeBasePtr& p, const ContainerPtr { // Intra-package links need package name, unlike with html dir structure EnumeratorPtr enumerator = EnumeratorPtr::dynamicCast(p); - if(enumerator) - { - target = toStringList(enumerator->type()); - } - else - { - target = getContainer(p); - } + if(enumerator) + { + target = toStringList(enumerator->type()); + } + else + { + target = getContainer(p); + } path = ""; while (!target.empty()) { if (!path.empty()) { |