[Libreoffice-commits] .: i18npool/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Nov 22 05:10:32 PST 2010


 i18npool/source/localedata/LocaleNode.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a188e9694512284a385236a553602291381e741a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Nov 22 13:10:25 2010 +0000

    rename this to make it easy to compiler with c++0x

diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx
index 77c5acb..083c31e 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: ");


More information about the Libreoffice-commits mailing list