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:59 +0100 |
commit | 8a18bed665bfc081a728c017e27a925c914c97f6 (patch) | |
tree | 3e0d5f75d12ed537c73056c507b5f80c8f5ac2f9 /cui/source/customize | |
parent | 23229bb9e89076576da0708d27358c2a64ed0c73 (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.cxx | 6 |
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) |