summaryrefslogtreecommitdiff
path: root/src/lib/SW602TextListener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/SW602TextListener.cpp')
-rw-r--r--src/lib/SW602TextListener.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/SW602TextListener.cpp b/src/lib/SW602TextListener.cpp
index 4d62d25..3df7077 100644
--- a/src/lib/SW602TextListener.cpp
+++ b/src/lib/SW602TextListener.cpp
@@ -102,7 +102,7 @@ struct State
//! a sequence of bit used to know if we need page/column break
int m_paragraphNeedBreak;
- boost::shared_ptr<SW602List> m_list;
+ std::shared_ptr<SW602List> m_list;
bool m_isPageSpanOpened;
bool m_isSectionOpened;
@@ -832,8 +832,8 @@ int SW602TextListener::_getListId() const
SW602_DEBUG_MSG(("SW602TextListener::_getListId: the list id is not set, try to find a new one\n"));
first = false;
}
- boost::shared_ptr<SW602List> list=m_parserState->m_listManager->getNewList
- (m_ps->m_list, int(newLevel), *m_ps->m_paragraph.m_listLevel);
+ std::shared_ptr<SW602List> list=m_parserState->m_listManager->getNewList
+ (m_ps->m_list, int(newLevel), *m_ps->m_paragraph.m_listLevel);
if (!list) return -1;
return list->getId();
}
@@ -864,7 +864,7 @@ void SW602TextListener::_changeList()
if (newLevel)
{
- boost::shared_ptr<SW602List> theList;
+ std::shared_ptr<SW602List> theList;
theList=m_parserState->m_listManager->getList(newListId);
if (!theList)
@@ -1680,7 +1680,7 @@ void SW602TextListener::handleSubDocument(SW602SubDocumentPtr subDocument, libsw
if (subDocument)
{
m_ds->m_subDocuments.push_back(subDocument);
- boost::shared_ptr<SW602Listener> listen(this, SW602_shared_ptr_noop_deleter<SW602TextListener>());
+ std::shared_ptr<SW602Listener> listen(this, SW602_shared_ptr_noop_deleter<SW602TextListener>());
try
{
subDocument->parse(listen, subDocumentType);
@@ -1879,9 +1879,9 @@ void SW602TextListener::closeTableCell()
///////////////////
// ---------- state stack ------------------
-boost::shared_ptr<SW602TextListenerInternal::State> SW602TextListener::_pushParsingState()
+std::shared_ptr<SW602TextListenerInternal::State> SW602TextListener::_pushParsingState()
{
- boost::shared_ptr<SW602TextListenerInternal::State> actual = m_ps;
+ std::shared_ptr<SW602TextListenerInternal::State> actual = m_ps;
m_psStack.push_back(actual);
m_ps.reset(new SW602TextListenerInternal::State);