diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-11-19 11:53:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-19 13:01:34 +0100 |
commit | b64c90c1ef0067aeedc22f6a4bbe7ca243ffdc77 (patch) | |
tree | 1fa90cfa6faa6a2c4335f804ec68f3ba1774a31a /sal/osl | |
parent | 431a7c402f5ba41db1c0acbe264c50da925b05a4 (diff) |
nlsupport.c -> nlsupport.cxx
Change-Id: Ida0c3c0c521f71fd3f18a12c02cf98ac96c5b7a6
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/unx/nlsupport.cxx (renamed from sal/osl/unx/nlsupport.c) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/nlsupport.c b/sal/osl/unx/nlsupport.cxx index 29eef0af0da1..7e0eee8856de 100644 --- a/sal/osl/unx/nlsupport.c +++ b/sal/osl/unx/nlsupport.cxx @@ -106,7 +106,7 @@ static char * _compose_locale( rtl_Locale * pLocale, char * buffer, size_t n ) pLocale->Language->buffer, pLocale->Language->length, RTL_TEXTENCODING_ASCII_US, OUSTRING_TO_OSTRING_CVTFLAGS ); - if( SAL_INT_CAST(sal_uInt32, pLanguage->length) < n ) + if( sal::static_int_cast<sal_uInt32>(pLanguage->length) < n ) { strcpy( buffer, pLanguage->buffer ); offset = pLanguage->length; @@ -136,7 +136,7 @@ static char * _compose_locale( rtl_Locale * pLocale, char * buffer, size_t n ) /* convert variant to ascii - check if there is enough space for the variant string */ if( pLocale->Variant && pLocale->Variant->length && - ( SAL_INT_CAST(sal_uInt32, pLocale->Variant->length) < n - 6 ) ) + ( sal::static_int_cast<sal_uInt32>(pLocale->Variant->length) < n - 6 ) ) { rtl_String *pVariant = NULL; |