Kaydet (Commit) 1a18c27b authored tarafından Michael Stahl's avatar Michael Stahl

sw: actually why does this not simply call FlatIndex()?

Change-Id: I74f5e25a05ca3c4c0259dd7f33da57a9e0790caa
üst ccfbc9e1
......@@ -368,11 +368,7 @@ short SwMultiTOXTabDialog::Ok()
SwTOXDescription& rDesc = GetTOXDescription(eCurrentTOXType);
SwTOXBase aNewDef(*rSh.GetDefaultTOXBase( eCurrentTOXType.eType, true ));
const sal_uInt16 nIndex = static_cast< sal_uInt16 >(
(eCurrentTOXType.eType == TOX_USER && eCurrentTOXType.nIndex)
? TOX_AUTHORITIES + eCurrentTOXType.nIndex
: eCurrentTOXType.eType);
const sal_uInt16 nIndex = eCurrentTOXType.GetFlatIndex();
if(pFormArr[nIndex])
{
rDesc.SetForm(*pFormArr[nIndex]);
......
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