summaryrefslogtreecommitdiff
path: root/cui
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:44 +0100
commit7a38c14fbbbc811aee9699bf36bde7cbfc46f785 (patch)
tree0b7b483e012ef077f1aa367140a315d74ef01659 /cui
parente01df3488abe6d319c6874ca870afb82a3ad9b1e (diff)
constify
Change-Id: I912ec27312a65bf065887af26b42122b5276d69f Reviewed-on: https://gerrit.libreoffice.org/83651 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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)