summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/customize/SvxNotebookbarConfigPage.cxx6
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);