summaryrefslogtreecommitdiff
path: root/rsc/source/tools/rsctree.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/tools/rsctree.cxx')
-rw-r--r--rsc/source/tools/rsctree.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/rsc/source/tools/rsctree.cxx b/rsc/source/tools/rsctree.cxx
index 75315369c12b..14f6a089507e 100644
--- a/rsc/source/tools/rsctree.cxx
+++ b/rsc/source/tools/rsctree.cxx
@@ -415,8 +415,8 @@ StringNode * StringNode::Search( const char * pSearch ) const{
*************************************************************************/
COMPARE StringNode::Compare( const NameNode * pSearch ) const
{
- int nCmp = strcmp( aName.GetBuffer(),
- ((const StringNode *)pSearch)->aName.GetBuffer() );
+ int nCmp = strcmp( m_aName.getStr(),
+ ((const StringNode *)pSearch)->m_aName.getStr() );
if( nCmp < 0 )
return LESS;
else if( nCmp > 0 )
@@ -428,7 +428,7 @@ COMPARE StringNode::Compare( const NameNode * pSearch ) const
COMPARE StringNode::Compare( const void * pSearch ) const
{
// pSearch ist ein Zeiger auf const char *
- int nCmp = strcmp( aName.GetBuffer(), (const char *)pSearch );
+ int nCmp = strcmp( m_aName.getStr(), (const char *)pSearch );
if( nCmp < 0 )
return LESS;