cui/source/customize/CustomNotebookbarGenerator.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 7a38c14fbbbc811aee9699bf36bde7cbfc46f785 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:44 2019 +0100 constify Change-Id: I912ec27312a65bf065887af26b42122b5276d69f Reviewed-on: https://gerrit.libreoffice.org/83651 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 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits