summaryrefslogtreecommitdiff
path: root/cui/source/customize
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-25 09:53:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-25 15:32:59 +0100
commit8a18bed665bfc081a728c017e27a925c914c97f6 (patch)
tree3e0d5f75d12ed537c73056c507b5f80c8f5ac2f9 /cui/source/customize
parent23229bb9e89076576da0708d27358c2a64ed0c73 (diff)
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>
Diffstat (limited to 'cui/source/customize')
-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 aa3a03a508cd..d8e597f90f1e 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)