summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-05 16:29:13 +0200
committerNoel Grandin <noel@peralex.com>2013-09-11 09:45:29 +0200
commit19c8de15dfc49b815597d7f2b05e072de2f8dec5 (patch)
treee6a6bece40536f00b8013a070b308c9c75f5634b /cui
parent987356e22f2d969deca72da99643691e432f0e92 (diff)
convert SvStringsISortDtor class from String to OUString
Change-Id: Iad22ba07dd3dfbd5162fa4e16ebb5f44c5eb7811
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/autocdlg.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 24f3682194a0..0ce6b490ee75 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -1405,7 +1405,7 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
sal_uInt16 i;
for( i = nCount; i; )
{
- String* pString = (*pWrdList)[ --i ];
+ OUString* pString = (*pWrdList)[ --i ];
if( !lcl_FindInArray(rArrays.aDoubleCapsStrings, *pString))
{
@@ -1416,7 +1416,7 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
for(std::vector<OUString>::iterator it = rArrays.aDoubleCapsStrings.begin(); it != rArrays.aDoubleCapsStrings.end(); ++it)
{
- String* s = new String(*it);
+ OUString* s = new OUString(*it);
if(!pWrdList->insert(s).second)
delete s;
}
@@ -1431,7 +1431,7 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
sal_uInt16 i;
for( i = nCount; i; )
{
- String* pString = (*pCplList)[ --i ];
+ OUString* pString = (*pCplList)[ --i ];
if( !lcl_FindInArray(rArrays.aAbbrevStrings, *pString))
{
delete (*pCplList)[ i ];
@@ -1441,7 +1441,7 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
for(std::vector<OUString>::iterator it = rArrays.aAbbrevStrings.begin(); it != rArrays.aAbbrevStrings.end(); ++it)
{
- String* s = new String(*it);
+ OUString* s = new OUString(*it);
if(!pCplList->insert(s).second)
delete s;
}
@@ -1460,7 +1460,7 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
sal_uInt16 i;
for( i = nCount; i; )
{
- String* pString = (*pWrdList)[ --i ];
+ OUString* pString = (*pWrdList)[ --i ];
if( USHRT_MAX == m_pDoubleCapsLB->GetEntryPos(*pString) )
{
delete (*pWrdList)[ i ];
@@ -1470,7 +1470,7 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
nCount = m_pDoubleCapsLB->GetEntryCount();
for( i = 0; i < nCount; ++i )
{
- String* pEntry = new String( m_pDoubleCapsLB->GetEntry( i ) );
+ OUString* pEntry = new OUString( m_pDoubleCapsLB->GetEntry( i ) );
if( !pWrdList->insert( pEntry ).second)
delete pEntry;
}
@@ -1485,7 +1485,7 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
sal_uInt16 i;
for( i = nCount; i; )
{
- String* pString = (*pCplList)[ --i ];
+ OUString* pString = (*pCplList)[ --i ];
if( USHRT_MAX == m_pAbbrevLB->GetEntryPos(*pString) )
{
delete (*pCplList)[ i ];
@@ -1495,7 +1495,7 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
nCount = m_pAbbrevLB->GetEntryCount();
for( i = 0; i < nCount; ++i )
{
- String* pEntry = new String( m_pAbbrevLB->GetEntry( i ) );
+ OUString* pEntry = new OUString( m_pAbbrevLB->GetEntry( i ) );
if( !pCplList->insert( pEntry ).second)
delete pEntry;
}