summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/CustomNotebookbarGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/customize/CustomNotebookbarGenerator.cxx b/cui/source/customize/CustomNotebookbarGenerator.cxx
index f19e4c9f3c06..3bca1f68e283 100644
--- a/cui/source/customize/CustomNotebookbarGenerator.cxx
+++ b/cui/source/customize/CustomNotebookbarGenerator.cxx
@@ -136,7 +136,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)
@@ -153,8 +153,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)