cui/source/customize/CustomNotebookbarGenerator.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 8a18bed665bfc081a728c017e27a925c914c97f6 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Nov 25 09:53:51 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Nov 25 15:32:59 2019 +0100 constify Change-Id: I912ec27312a65bf065887af26b42122b5276d69f Reviewed-on: https://gerrit.libreoffice.org/83652 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits