Kaydet (Commit) 513a21c1 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Michael Stahl

Resolves: tdf#114728 wrong entries in bibliographic entry dialog

Change-Id: I15f889c108805075c716d21af84c13f98f4e7226
Reviewed-on: https://gerrit.libreoffice.org/47594Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 8ebc1d2d
...@@ -1502,7 +1502,8 @@ SwCreateAuthEntryDlg_Impl::SwCreateAuthEntryDlg_Impl(vcl::Window* pParent, ...@@ -1502,7 +1502,8 @@ SwCreateAuthEntryDlg_Impl::SwCreateAuthEntryDlg_Impl(vcl::Window* pParent,
{ {
pTypeListBox = VclPtr<ListBox>::Create(bLeft ? pLeft : pRight, WB_DROPDOWN|WB_BORDER|WB_VCENTER); pTypeListBox = VclPtr<ListBox>::Create(bLeft ? pLeft : pRight, WB_DROPDOWN|WB_BORDER|WB_VCENTER);
for (int j = 0; j < AUTH_TYPE_END; j++) for (int j = 0; j < AUTH_TYPE_END; j++)
pTypeListBox->InsertEntry(SwResId(STR_AUTH_FIELD_ARY[j])); pTypeListBox->InsertEntry(SwAuthorityFieldType::GetAuthTypeName(static_cast<ToxAuthorityType>(j)));
pTypeListBox->EnableAutoSize(true);
if(!pFields[aCurInfo.nToxField].isEmpty()) if(!pFields[aCurInfo.nToxField].isEmpty())
{ {
pTypeListBox->SelectEntryPos(pFields[aCurInfo.nToxField].toInt32()); pTypeListBox->SelectEntryPos(pFields[aCurInfo.nToxField].toInt32());
......
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