diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-25 12:45:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-26 14:24:06 +0100 |
commit | df701c92f3f8071d1dd6df70898c33d99e905e7e (patch) | |
tree | cfb2a5b3f7aec2de8da24db9ef6c10f108d73423 | |
parent | 300ffc649aaa555bba19a0475d74067c9574fc04 (diff) |
tdf#126043 drop intermediate OUString
Change-Id: I96906737bfe0f40b8a4c0b2f88dde7cc40daeab0
Reviewed-on: https://gerrit.libreoffice.org/83677
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | cui/source/customize/SvxNotebookbarConfigPage.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cui/source/customize/SvxNotebookbarConfigPage.cxx b/cui/source/customize/SvxNotebookbarConfigPage.cxx index 76c831cffab8..ff70cc1ee79e 100644 --- a/cui/source/customize/SvxNotebookbarConfigPage.cxx +++ b/cui/source/customize/SvxNotebookbarConfigPage.cxx @@ -290,16 +290,14 @@ void SvxNotebookbarConfigPage::getNodeValue(xmlNode* pNodePtr, NotebookbarEntrie { xmlChar* aValue = xmlNodeGetContent(pNodePtr); const char* cVisibleValue = reinterpret_cast<const char*>(aValue); - OUString sVisibleValue = charToString(cVisibleValue); - aNodeEntries.sVisibleValue = sVisibleValue; + aNodeEntries.sVisibleValue = charToString(cVisibleValue); xmlFree(aValue); } if (!(xmlStrcmp(UriValue, reinterpret_cast<const xmlChar*>("action_name")))) { xmlChar* aValue = xmlNodeGetContent(pNodePtr); const char* cActionName = reinterpret_cast<const char*>(aValue); - OUString sActionName = charToString(cActionName); - aNodeEntries.sActionName = sActionName; + aNodeEntries.sActionName = charToString(cActionName); xmlFree(aValue); } xmlFree(UriValue); |