diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-24 21:46:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-25 14:19:01 +0100 |
commit | 8eabfaa990b9f978fe4c147545801d2b1a151c7c (patch) | |
tree | 0a3dbabd3fa849fc706544bbe414d907e3f43447 /unotools | |
parent | 344baf17a11772ab265e159796b3d7c49a16c080 (diff) |
unnecessary use of UniString::GetBuffer
Change-Id: If7d31a649a058a30196e1ed4be28b5c6c42640a0
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/syslocaleoptions.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx index eced74b60487..314437f771b5 100644 --- a/unotools/source/config/syslocaleoptions.cxx +++ b/unotools/source/config/syslocaleoptions.cxx @@ -609,9 +609,9 @@ void SvtSysLocaleOptions::GetCurrencyAbbrevAndLanguage( String& rAbbrev, if ( aIsoStr.Len() ) { ::rtl::OUStringBuffer aStr( rAbbrev.Len() + 1 + aIsoStr.Len() ); - aStr.append( rAbbrev.GetBuffer(), rAbbrev.Len() ); + aStr.append( rAbbrev ); aStr.append( sal_Unicode('-') ); - aStr.append( aIsoStr.GetBuffer(), aIsoStr.Len() ); + aStr.append( aIsoStr ); return aStr.makeStringAndClear(); } else |