summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-22 13:10:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-22 13:10:25 +0000
commitec765081b7eceb28fff8b545e7433b14a995c2eb (patch)
tree497a942064ed3323692bac165196ab5fe4c98061
parentf2e051f4c805e81c7788b6a2c3124be78fd87c05 (diff)
rename this to make it easy to compiler with c++0x
-rw-r--r--i18npool/source/localedata/LocaleNode.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx
index 7b8cceb09bd3..a080b08a4545 100644
--- a/i18npool/source/localedata/LocaleNode.cxx
+++ b/i18npool/source/localedata/LocaleNode.cxx
@@ -168,7 +168,7 @@ void print_OUString( const OUString& s )
printf( "%s", OUStringToOString( s, RTL_TEXTENCODING_UTF8).getStr());
}
-bool is_empty( const OUString& s )
+bool is_empty_string( const OUString& s )
{
return (s.getLength()==0) || (s.getLength()==1 && s[0]=='\n');
}
@@ -208,7 +208,7 @@ void print_node( const LocaleNode* p, int depth=0 )
}
printf(">");
printf("\n");
- if( !is_empty( p->getValue() ) )
+ if( !is_empty_string( p->getValue() ) )
{
print_indent( depth+1 );
printf("value: ");