diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-25 09:53:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-25 15:32:44 +0100 |
commit | 7a38c14fbbbc811aee9699bf36bde7cbfc46f785 (patch) | |
tree | 0b7b483e012ef077f1aa367140a315d74ef01659 /cui | |
parent | e01df3488abe6d319c6874ca870afb82a3ad9b1e (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.cxx | 6 |
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) |