summaryrefslogtreecommitdiff
path: root/i18npool/source/localedata/localedata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/localedata/localedata.cxx')
-rw-r--r--i18npool/source/localedata/localedata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index b9748c7472f1..a45bab178575 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -1383,7 +1383,7 @@ public:
virtual sal_Bool SAL_CALL hasElements( ) throw(RuntimeException, std::exception);
};
-static sal_Char* U2C( OUString str )
+static sal_Char* U2C( const OUString& str )
{
sal_Char* s = new sal_Char[ str.getLength()+1 ];
int i;