diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/docbm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index 0d4e4d321863..6f2a38b0be5a 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -410,7 +410,7 @@ namespace { if(*ppCurrentMark == pMarkToFind) { - return std::move(ppCurrentMark); + return MarkManager::container_t::const_iterator(std::move(ppCurrentMark)); } ++ppCurrentMark; } @@ -437,7 +437,7 @@ namespace break; if(IDocumentMarkAccess::GetType(**ppCurrentMark) == eType) { - return std::move(ppCurrentMark); + return MarkManager::container_t::const_iterator(std::move(ppCurrentMark)); } } // reached a mark starting on a later start pos or the end of the |