Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75249 - branches/quickbook-dev/tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2011-11-02 03:44:45


Author: danieljames
Date: 2011-11-02 03:44:44 EDT (Wed, 02 Nov 2011)
New Revision: 75249
URL: http://svn.boost.org/trac/boost/changeset/75249

Log:
Quickbook: Use section_info for ids in doc_info_actions.
Text files modified:
   branches/quickbook-dev/tools/quickbook/src/doc_info_actions.cpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: branches/quickbook-dev/tools/quickbook/src/doc_info_actions.cpp
==============================================================================
--- branches/quickbook-dev/tools/quickbook/src/doc_info_actions.cpp (original)
+++ branches/quickbook-dev/tools/quickbook/src/doc_info_actions.cpp 2011-11-02 03:44:44 EDT (Wed, 02 Nov 2011)
@@ -294,7 +294,8 @@
 
         out << '<' << actions.doc_type << "\n"
             << " id=\""
- << actions.ids.add(actions.section->doc_id, generated_id ?
+ << actions.section->fully_qualified_id(actions.ids,
+ std::string(), generated_id ?
                 id_generator::generated_doc : id_generator::explicit_id)
             << "\"\n"
             ;
@@ -390,7 +391,7 @@
         if (!license.empty())
         {
             tmp << " <legalnotice id=\""
- << actions.ids.add(actions.section->doc_id + ".legal",
+ << actions.section->fully_qualified_id(actions.ids, "legal",
                     id_generator::generated)
                 << "\">\n"
                 << " <para>\n"


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk