From ec765081b7eceb28fff8b545e7433b14a995c2eb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 22 Nov 2010 13:10:25 +0000 Subject: rename this to make it easy to compiler with c++0x --- i18npool/source/localedata/LocaleNode.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i18npool') 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: "); -- cgit