summaryrefslogtreecommitdiff
path: root/helpcompiler/source/HelpIndexer.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-18 15:37:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-19 08:02:51 +0000
commitf7ef1cbb83fdc6c43fa39fd50a9e12703e4fcf5f (patch)
treeae237578179192c1b5bfbe63cc1c0f11c87acb64 /helpcompiler/source/HelpIndexer.cxx
parentf626b886d03f882fc72589db846f24df5290bb03 (diff)
boost->std
Change-Id: I5079e03f70370ed83a1158b2e278f48642108f08 Reviewed-on: https://gerrit.libreoffice.org/18692 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'helpcompiler/source/HelpIndexer.cxx')
-rw-r--r--helpcompiler/source/HelpIndexer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpcompiler/source/HelpIndexer.cxx b/helpcompiler/source/HelpIndexer.cxx
index 05bc830ec829..63cf85af5c0a 100644
--- a/helpcompiler/source/HelpIndexer.cxx
+++ b/helpcompiler/source/HelpIndexer.cxx
@@ -14,8 +14,8 @@
#include <rtl/ustrbuf.hxx>
#include <osl/file.hxx>
#include <osl/thread.h>
-#include <boost/scoped_ptr.hpp>
#include <algorithm>
+#include <memory>
#include "LuceneHelper.hxx"
@@ -42,7 +42,7 @@ bool HelpIndexer::indexDocuments()
bool bUseCJK = sLang == "ja" || sLang == "ko" || sLang == "zh";
// Construct the analyzer appropriate for the given language
- boost::scoped_ptr<lucene::analysis::Analyzer> analyzer;
+ std::unique_ptr<lucene::analysis::Analyzer> analyzer;
if (bUseCJK)
analyzer.reset(new lucene::analysis::LanguageBasedAnalyzer(L"cjk"));
else