diff options
Diffstat (limited to 'helpcompiler/source/HelpIndexer.cxx')
-rw-r--r-- | helpcompiler/source/HelpIndexer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcompiler/source/HelpIndexer.cxx b/helpcompiler/source/HelpIndexer.cxx index d2380c53d3d1..25ff6ef0b09e 100644 --- a/helpcompiler/source/HelpIndexer.cxx +++ b/helpcompiler/source/HelpIndexer.cxx @@ -116,7 +116,7 @@ void HelpIndexer::helpDocument(OUString const & fileName, Document *doc) const { OUString path = "#HLP#" + d_module + "/" + fileName; std::vector<TCHAR> aPath(OUStringToTCHARVec(path)); - doc->add(*_CLNEW Field(_T("path"), &aPath[0], Field::STORE_YES | Field::INDEX_UNTOKENIZED)); + doc->add(*_CLNEW Field(_T("path"), aPath.data(), Field::STORE_YES | Field::INDEX_UNTOKENIZED)); OUString sEscapedFileName = rtl::Uri::encode(fileName, |