You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2005/11/30 19:12:02 UTC

svn commit: r350006 - in /xerces/c/trunk/src/xercesc/framework/psvi: XSElementDeclaration.cpp XSElementDeclaration.hpp

Author: amassari
Date: Wed Nov 30 10:11:56 2005
New Revision: 350006

URL: http://svn.apache.org/viewcvs?rev=350006&view=rev
Log:
Mark getName as const

Modified:
    xerces/c/trunk/src/xercesc/framework/psvi/XSElementDeclaration.cpp
    xerces/c/trunk/src/xercesc/framework/psvi/XSElementDeclaration.hpp

Modified: xerces/c/trunk/src/xercesc/framework/psvi/XSElementDeclaration.cpp
URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/framework/psvi/XSElementDeclaration.cpp?rev=350006&r1=350005&r2=350006&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/framework/psvi/XSElementDeclaration.cpp (original)
+++ xerces/c/trunk/src/xercesc/framework/psvi/XSElementDeclaration.cpp Wed Nov 30 10:11:56 2005
@@ -90,7 +90,7 @@
 // ---------------------------------------------------------------------------
 //  XSElementDeclaration: XSObject virtual methods
 // ---------------------------------------------------------------------------
-const XMLCh *XSElementDeclaration::getName() 
+const XMLCh *XSElementDeclaration::getName() const
 {
     return fSchemaElementDecl->getElementName()->getLocalPart();
 }

Modified: xerces/c/trunk/src/xercesc/framework/psvi/XSElementDeclaration.hpp
URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/framework/psvi/XSElementDeclaration.hpp?rev=350006&r1=350005&r2=350006&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/framework/psvi/XSElementDeclaration.hpp (original)
+++ xerces/c/trunk/src/xercesc/framework/psvi/XSElementDeclaration.hpp Wed Nov 30 10:11:56 2005
@@ -91,7 +91,7 @@
      * The name of type <code>NCName</code> of this declaration as defined in 
      * XML Namespaces.
      */
-    const XMLCh* getName();
+    const XMLCh* getName() const;
 
     /**
      *  The [target namespace] of this object, or <code>null</code> if it is 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org