diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 22:10:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 22:10:19 +0200 |
commit | 957874168491f4b030fda85c65dd969aae82a670 (patch) | |
tree | 41c655b44b3724373c32e734a708ce85c55084af | |
parent | e990b4e13724dbab48bd01f7ad7a9b589ed2e52e (diff) |
loplugin:stringcopy
Change-Id: I04e3faf18cd6dae39d948cfb3dd0834dd96751b1
-rw-r--r-- | jvmfwk/source/elements.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmfwk/source/elements.cxx b/jvmfwk/source/elements.cxx index 353eab37ba6f..19c3e1b1f44c 100644 --- a/jvmfwk/source/elements.cxx +++ b/jvmfwk/source/elements.cxx @@ -260,7 +260,7 @@ void NodeJava::load() { CXmlCharPtr sUser(xmlNodeListGetString( docUser, cur->children, 1)); - m_userClassPath = boost::optional<OUString>(OUString(sUser)); + m_userClassPath = boost::optional<OUString>(sUser); } } else if (xmlStrcmp(cur->name, reinterpret_cast<xmlChar const *>("javaInfo")) == 0) |