]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.cpp
Cmake export tests: Create concatenated labels in the form 'export:reverted:examples...
[lyx.git] / src / TocBackend.cpp
index 145a23b3cc97de21caf4a0d999e6c682912f5c59..8e90a3bb12637fcd647fd02998538b60344e6495 100644 (file)
@@ -80,6 +80,8 @@ docstring const TocItem::asString() const
        return prefix + str_;
 }
 
+namespace {
+
 // convert a DocIterator into an argument to LFUN_PARAGRAPH_GOTO 
 docstring paragraph_goto_arg(DocIterator const & dit)
 {
@@ -88,6 +90,8 @@ docstring paragraph_goto_arg(DocIterator const & dit)
                convert<docstring>(s.pos());
 }
 
+} // namespace anon
+
 FuncRequest TocItem::action() const
 {
        if (action_.action() == LFUN_UNKNOWN_ACTION) {