From 08fe82e59cbc598d2683d72877653316c1e41962 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 13 Dec 2013 09:29:22 +0200 Subject: Remove unnecessary use of OUString constructor in + expressions Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50 --- helpcompiler/source/HelpIndexer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helpcompiler') diff --git a/helpcompiler/source/HelpIndexer.cxx b/helpcompiler/source/HelpIndexer.cxx index 28833be49db9..9333aeb78455 100644 --- a/helpcompiler/source/HelpIndexer.cxx +++ b/helpcompiler/source/HelpIndexer.cxx @@ -125,11 +125,11 @@ bool HelpIndexer::helpDocument(OUString const & fileName, Document *doc) { rtl_UriCharClassUric, rtl_UriEncodeIgnoreEscapes, RTL_TEXTENCODING_UTF8); // Add the caption as a field. - OUString captionPath = d_captionDir + OUString("/") + sEscapedFileName; + OUString captionPath = d_captionDir + "/" + sEscapedFileName; doc->add(*_CLNEW Field(_T("caption"), helpFileReader(captionPath), Field::STORE_NO | Field::INDEX_TOKENIZED)); // Add the content as a field. - OUString contentPath = d_contentDir + OUString("/") + sEscapedFileName; + OUString contentPath = d_contentDir + "/" + sEscapedFileName; doc->add(*_CLNEW Field(_T("content"), helpFileReader(contentPath), Field::STORE_NO | Field::INDEX_TOKENIZED)); return true; -- cgit v1.2.3