diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-07-25 12:52:33 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-25 14:13:47 +0200 |
commit | 05a6798a2eee2078ab317aadd9b3e3b5ec88d4b7 (patch) | |
tree | 38cfaa302d7ceadff9f97d910eecfa6e33172d50 /svx | |
parent | 183ae1ebe36f25eae599e3ff65d399e59c677023 (diff) |
remove typedef StringPtr
Change-Id: Ibb5b1c02a15fb1b6e4b45737b2afa9f065318071
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/items/numfmtsh.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index 014b548af5f1..896d88e953b9 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -696,7 +696,7 @@ short SvxNumberFormatShell::FillEListWithFormats_Impl( std::vector<String*>& rLi CategoryToPos_Impl(nMyCat,nMyType); aNewFormNInfo= pNumEntry->GetFormatstring(); - const StringPtr pStr = new String(aNewFormNInfo); + String *const pStr = new String(aNewFormNInfo); if ( nNFEntry == nCurFormatKey ) { @@ -740,7 +740,7 @@ short SvxNumberFormatShell::FillEListWithDateTime_Impl( std::vector<String*>& rL CategoryToPos_Impl(nMyCat,nMyType); aNewFormNInfo= pNumEntry->GetFormatstring(); - const StringPtr pStr = new String(aNewFormNInfo); + String *const pStr = new String(aNewFormNInfo); if ( nNFEntry == nCurFormatKey ) { @@ -829,7 +829,7 @@ short SvxNumberFormatShell::FillEListWithSysCurrencys( std::vector<String*>& rLi CategoryToPos_Impl(nMyCat,nMyType); aNewFormNInfo= pNumEntry->GetFormatstring(); - const StringPtr pStr = new String(aNewFormNInfo); + String *const pStr = new String(aNewFormNInfo); if ( nNFEntry == nCurFormatKey ) { @@ -871,7 +871,7 @@ short SvxNumberFormatShell::FillEListWithSysCurrencys( std::vector<String*>& rLi CategoryToPos_Impl(nMyCat,nMyType); aNewFormNInfo= pNumEntry->GetFormatstring(); - const StringPtr pStr = new String(aNewFormNInfo); + String *const pStr = new String(aNewFormNInfo); if ( nKey == nCurFormatKey ) nSelPos =aCurEntryList.size(); rList.push_back( pStr ); @@ -1033,7 +1033,7 @@ short SvxNumberFormatShell::FillEListWithUserCurrencys( std::vector<String*>& rL size_t j; for( j=0; j < aList.size(); ++j ) { - const StringPtr pTestStr=aList[j]; + const String * pTestStr=aList[j]; if(*pTestStr==aInsStr) { @@ -1125,7 +1125,7 @@ short SvxNumberFormatShell::FillEListWithUsD_Impl( std::vector<String*>& rList, } if(bFlag) { - const StringPtr pStr = new String(aNewFormNInfo); + String *const pStr = new String(aNewFormNInfo); if ( nKey == nCurFormatKey ) nSelPos = aCurEntryList.size(); rList.push_back( pStr ); |