Kaydet (Commit) 9d4ed3c5 authored tarafından Matteo Casalin's avatar Matteo Casalin

Use indexed getToken()

Change-Id: Ifd3885d07f7bcad46039560bbb19f48074fb4cd0
Reviewed-on: https://gerrit.libreoffice.org/67323
Tested-by: Jenkins
Reviewed-by: 's avatarMatteo Casalin <matteo.casalin@yahoo.com>
üst ff0c58d3
...@@ -125,9 +125,10 @@ void SwChangeDBDlg::FillDBPopup() ...@@ -125,9 +125,10 @@ void SwChangeDBDlg::FillDBPopup()
SvTreeListEntry* SwChangeDBDlg::Insert(const OUString& rDBName) SvTreeListEntry* SwChangeDBDlg::Insert(const OUString& rDBName)
{ {
const OUString sDBName(rDBName.getToken(0, DB_DELIM)); sal_Int32 nIdx{ 0 };
const OUString sTableName(rDBName.getToken(1, DB_DELIM)); const OUString sDBName(rDBName.getToken(0, DB_DELIM, nIdx));
sal_IntPtr nCommandType = rDBName.getToken(2, DB_DELIM).toInt32(); const OUString sTableName(rDBName.getToken(0, DB_DELIM, nIdx));
sal_IntPtr nCommandType = rDBName.getToken(0, DB_DELIM, nIdx).toInt32();
SvTreeListEntry* pParent; SvTreeListEntry* pParent;
SvTreeListEntry* pChild; SvTreeListEntry* pChild;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment