[Libreoffice-commits] core.git: cui/source

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


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

New commits:
commit 7a38c14fbbbc811aee9699bf36bde7cbfc46f785
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:44 2019 +0100

    constify
    
    Change-Id: I912ec27312a65bf065887af26b42122b5276d69f
    Reviewed-on: https://gerrit.libreoffice.org/83651
    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 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)


More information about the Libreoffice-commits mailing list