constify
Change-Id: I912ec27312a65bf065887af26b42122b5276d69f
Reviewed-on: https://gerrit.libreoffice.org/83652
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/cui/source/customize/CustomNotebookbarGenerator.cxx b/cui/source/customize/CustomNotebookbarGenerator.cxx
index aa3a03a..d8e597f 100644
--- a/cui/source/customize/CustomNotebookbarGenerator.cxx
+++ b/cui/source/customize/CustomNotebookbarGenerator.cxx
@@ -135,7 +135,7 @@ char* CustomNotebookbarGenerator::convertToCharPointer(const OUString& sString)
return cString;
}
static void changeNodeValue(xmlNode* pNodePtr, char* pProperty, char* pValue)
static void changeNodeValue(xmlNode* pNodePtr, const char* pProperty, const char* pValue)
{
pNodePtr = pNodePtr->xmlChildrenNode;
while (pNodePtr)
@@ -152,8 +152,8 @@ static void changeNodeValue(xmlNode* pNodePtr, char* pProperty, char* pValue)
}
}
static void searchNodeAndAttribute(xmlNode* pNodePtr, char* pUIItemID, char* pProperty,
char* pValue)
static void searchNodeAndAttribute(xmlNode* pNodePtr, const char* pUIItemID, const char* pProperty,
const char* pValue)
{
pNodePtr = pNodePtr->xmlChildrenNode;
while (pNodePtr)