[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - cui/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 25 14:34:03 UTC 2019


 cui/source/customize/CustomNotebookbarGenerator.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 8a18bed665bfc081a728c017e27a925c914c97f6
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Nov 25 09:53:51 2019 +0000
Commit:     Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at 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)


More information about the Libreoffice-commits mailing list