diff options
Diffstat (limited to 'sw/inc/IDocumentMarkAccess.hxx')
-rw-r--r-- | sw/inc/IDocumentMarkAccess.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/inc/IDocumentMarkAccess.hxx b/sw/inc/IDocumentMarkAccess.hxx index 19431c67a343..cbdaa7b35233 100644 --- a/sw/inc/IDocumentMarkAccess.hxx +++ b/sw/inc/IDocumentMarkAccess.hxx @@ -52,8 +52,7 @@ class IDocumentMarkAccess NAVIGATOR_REMINDER }; - typedef std::shared_ptr< ::sw::mark::IMark> pMark_t; - typedef std::vector< pMark_t > container_t; + typedef std::vector< ::sw::mark::IMark* > container_t; typedef container_t::iterator iterator_t; typedef container_t::const_iterator const_iterator_t; typedef container_t::const_reverse_iterator const_reverse_iterator_t; @@ -184,7 +183,7 @@ class IDocumentMarkAccess @param ppMark [in] an iterator pointing to the Mark to be deleted. */ - virtual std::shared_ptr<ILazyDeleter> + virtual std::unique_ptr<ILazyDeleter> deleteMark(const IDocumentMarkAccess::const_iterator_t& ppMark) =0; /** Deletes a mark. |