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-27 09:58:48 +0100 |
commit | c30dde552ad6420a655fd9f440fd68bff556d19a (patch) | |
tree | 2b0e1bb8dd86ffb14c7a4f6c357c2b6b8ae73093 /cui | |
parent | bc97c1c01807c304e67a42f2e0b4abb01f8702c7 (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>
(cherry picked from commit df701c92f3f8071d1dd6df70898c33d99e905e7e)
Reviewed-on: https://gerrit.libreoffice.org/83834
Diffstat (limited to 'cui')
-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 d49abb3eb951..4a26650b80e2 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); |