summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/dbinsdlg.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-11-27 22:58:50 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-11-27 23:00:06 -0600
commitc617be8307033394bde4255c05b72dbd01ae0056 (patch)
treebda35b72f8b61d71f22517a197517ec3bbffa0b0 /sw/source/ui/dbui/dbinsdlg.cxx
parentae0fa7cc62e1f57d22e68b2ef45086aeb1dfe41c (diff)
remove legacy String svl's Put*Entry family of function and convert users
Change-Id: Iebf4017ce4c2c48389716eac1bbf7f386ac7a296
Diffstat (limited to 'sw/source/ui/dbui/dbinsdlg.cxx')
-rw-r--r--sw/source/ui/dbui/dbinsdlg.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx
index 076a8dd9421d..1198fb780297 100644
--- a/sw/source/ui/dbui/dbinsdlg.cxx
+++ b/sw/source/ui/dbui/dbinsdlg.cxx
@@ -1850,12 +1850,10 @@ void SwInsertDBColAutoPilot::Load()
rGet.eUsrNumFmtLng );
if( NUMBERFORMAT_ENTRY_NOT_FOUND == rSet.nUsrNumFmt )
{
- xub_StrLen nCheckPos;
+ sal_Int32 nCheckPos;
short nType;
- String sTmpFmt = rGet.sUsrNumFmt;
- rNFmtr.PutEntry( sTmpFmt, nCheckPos, nType,
+ rNFmtr.PutEntry( rGet.sUsrNumFmt, nCheckPos, nType,
rSet.nUsrNumFmt, rGet.eUsrNumFmtLng );
- rGet.sUsrNumFmt = sTmpFmt;
}
}
break;