summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-06-12 21:53:44 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-12 23:25:16 +0200
commit6ec1108370d9e27f3e75c1a50f9525b06d5a3c82 (patch)
tree9d57947c91379c912ac7ce05509b47c28e5ada5b /svx
parent586df9f1ec5a733082ced2a51f416c8baa2cc914 (diff)
convert NfWSStringsDtor further to vector<OUString>
Change-Id: I4fac64952abf208864281fda722d8b7242689395
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/numfmtsh.hxx3
-rw-r--r--svx/source/items/numfmtsh.cxx7
2 files changed, 6 insertions, 4 deletions
diff --git a/svx/inc/svx/numfmtsh.hxx b/svx/inc/svx/numfmtsh.hxx
index d6005ab572f3..ba3b04cc792f 100644
--- a/svx/inc/svx/numfmtsh.hxx
+++ b/svx/inc/svx/numfmtsh.hxx
@@ -183,7 +183,8 @@ public:
void GetCurrencySymbols(std::vector<rtl::OUString>& rList, bool bFlag );
sal_uInt16 FindCurrencyTableEntry( const String& rFmtString, bool &bTestBanking );
- bool IsInTable(sal_uInt16 nPos,bool bTmpBanking,const String &rFmtString);
+ bool IsInTable(sal_uInt16 nPos, bool bTmpBanking,
+ ::rtl::OUString const& rFmtString);
private:
static const double DEFAULT_NUMVALUE;
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index ef25577453bb..014b548af5f1 100644
--- a/svx/source/items/numfmtsh.cxx
+++ b/svx/source/items/numfmtsh.cxx
@@ -1029,7 +1029,7 @@ short SvxNumberFormatShell::FillEListWithUserCurrencys( std::vector<String*>& rL
for( size_t i = 0, nPos = nOldListCount; i < aWSStringsDtor.size(); ++i )
{
bool bFlag = true;
- String aInsStr(*aWSStringsDtor[i]);
+ String aInsStr(aWSStringsDtor[i]);
size_t j;
for( j=0; j < aList.size(); ++j )
{
@@ -1771,7 +1771,8 @@ sal_uInt16 SvxNumberFormatShell::FindCurrencyFormat(const NfCurrencyEntry* pTmpC
return (sal_uInt16) -1;
}
-bool SvxNumberFormatShell::IsInTable(sal_uInt16 nPos,bool bTmpBanking,const String &rFmtString)
+bool SvxNumberFormatShell::IsInTable(sal_uInt16 const nPos,
+ bool const bTmpBanking, ::rtl::OUString const& rFmtString)
{
bool bFlag=false;
@@ -1793,7 +1794,7 @@ bool SvxNumberFormatShell::IsInTable(sal_uInt16 nPos,bool bTmpBanking,const Stri
for(sal_uInt16 i=0;i<aWSStringsDtor.size();i++)
{
- if(*aWSStringsDtor[i]==rFmtString)
+ if (aWSStringsDtor[i] == rFmtString)
{
bFlag=true;
break;