cui/source/customize/SvxNotebookbarConfigPage.cxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit df701c92f3f8071d1dd6df70898c33d99e905e7e
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Nov 25 12:45:05 2019 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Nov 26 14:24:06 2019 +0100

    tdf#126043 drop intermediate OUString
    
    Change-Id: I96906737bfe0f40b8a4c0b2f88dde7cc40daeab0
    Reviewed-on: https://gerrit.libreoffice.org/83677
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to