diff options
-rw-r--r-- | sw/source/core/doc/CntntIdxStore.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/doc/CntntIdxStore.cxx b/sw/source/core/doc/CntntIdxStore.cxx index 7b7ba3e364cd..1a2754c9396c 100644 --- a/sw/source/core/doc/CntntIdxStore.cxx +++ b/sw/source/core/doc/CntntIdxStore.cxx @@ -22,6 +22,7 @@ #include <boost/bind.hpp> #include <boost/foreach.hpp> #include <boost/function.hpp> +#include <boost/make_shared.hpp> #include <cntfrm.hxx> #include <crossrefbookmark.hxx> #include <annotationmark.hxx> @@ -449,7 +450,7 @@ void CntntIdxStoreImpl::RestoreShellCrsrs(SwDoc* /* pDoc */, updater_t& rUpdater namespace sw { namespace mark { boost::shared_ptr<CntntIdxStore> CntntIdxStore::Create() { - return boost::shared_ptr<CntntIdxStore>(new CntntIdxStoreImpl()); + return boost::make_shared<CntntIdxStoreImpl>(); } }} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |