diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-01-08 12:20:11 +0000 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2018-01-09 15:49:05 +0100 |
commit | 513a21c1d635ea5b830f6b075b2a951ca1c94eff (patch) | |
tree | eabb9c1e9d727a65be6a8cf7012c2c134432adac /sw/source/ui | |
parent | 8ebc1d2df3bb60ac79d963db384b528bb359264e (diff) |
Resolves: tdf#114728 wrong entries in bibliographic entry dialog
Change-Id: I15f889c108805075c716d21af84c13f98f4e7226
Reviewed-on: https://gerrit.libreoffice.org/47594
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/index/swuiidxmrk.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx index 61249f585796..6c2561065cff 100644 --- a/sw/source/ui/index/swuiidxmrk.cxx +++ b/sw/source/ui/index/swuiidxmrk.cxx @@ -1502,7 +1502,8 @@ SwCreateAuthEntryDlg_Impl::SwCreateAuthEntryDlg_Impl(vcl::Window* pParent, { pTypeListBox = VclPtr<ListBox>::Create(bLeft ? pLeft : pRight, WB_DROPDOWN|WB_BORDER|WB_VCENTER); 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()) { pTypeListBox->SelectEntryPos(pFields[aCurInfo.nToxField].toInt32()); |