diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-12 23:24:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-17 10:46:27 +0100 |
commit | c20ba023c738c0c76a07c94cb43c0a6d06f12374 (patch) | |
tree | e35855ce7fd3c777a4b12fe6356dc9c46ec99ddb /svx | |
parent | 44aa7df623e7cc113fd81f84e4a0d3de786f311f (diff) |
XubString->OUString
Change-Id: Ic8b191dfb0d14e129dc804aeb4ac14c732e72e6b
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/items/numfmtsh.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index 30ff4233b702..c1437048e48d 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -940,9 +940,9 @@ short SvxNumberFormatShell::FillEListWithUserCurrencys( std::vector<String*>& rL if(pTmpCurrencyEntry!=NULL) { - pTmpCurrencyEntry->BuildSymbolString(rSymbol,false); - pTmpCurrencyEntry->BuildSymbolString(rBankSymbol,true); - pTmpCurrencyEntry->BuildSymbolString(rShortSymbol,bTmpBanking,true); + rSymbol = pTmpCurrencyEntry->BuildSymbolString(false); + rBankSymbol = pTmpCurrencyEntry->BuildSymbolString(true); + rShortSymbol = pTmpCurrencyEntry->BuildSymbolString(bTmpBanking,true); } SvNumberFormatTable::iterator it = pCurFmtTable->begin(); @@ -1722,9 +1722,8 @@ sal_uInt16 SvxNumberFormatShell::FindCurrencyTableEntry( const String& rFmtStrin for(sal_uInt16 i=0;i<nCount;i++) { const NfCurrencyEntry* pTmpCurrencyEntry=&rCurrencyTable[i]; - XubString _aSymbol, aBankSymbol; - pTmpCurrencyEntry->BuildSymbolString(_aSymbol,false); - pTmpCurrencyEntry->BuildSymbolString(aBankSymbol,true); + OUString _aSymbol = pTmpCurrencyEntry->BuildSymbolString(false); + OUString aBankSymbol = pTmpCurrencyEntry->BuildSymbolString(true); if(rFmtString.Search(_aSymbol)!=STRING_NOTFOUND) { |