summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2017-12-04 20:19:28 +0100
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-12-09 09:45:22 +0100
commit686e55d9e87b8dd7a3cfe22f9a6df9c77de3ce09 (patch)
treea50b8e17ce887e94aae4c1d1343a4f7033789f14 /sw/source/ui
parentccc4a306ef8b7db1d2bc8a48cfdec896084b8839 (diff)
tdf#113959 Use svxlo-FrameDirectionListBox instead of ListBox
To reduce the number of translatable stings Change-Id: I1aeea6767d3389dd24a5bf8b074817ef601502a7 Reviewed-on: https://gerrit.libreoffice.org/45823 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/table/tabledlg.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx
index 1dd146377a8a..366e42f01fed 100644
--- a/sw/source/ui/table/tabledlg.cxx
+++ b/sw/source/ui/table/tabledlg.cxx
@@ -38,6 +38,8 @@
#include <sfx2/htmlmode.hxx>
#include <strings.hrc>
+#include <svx/strings.hrc>
+#include <svx/dialmgr.hxx>
#include <docsh.hxx>
#include <wrtsh.hxx>
@@ -91,6 +93,10 @@ SwFormatTablePage::SwFormatTablePage(vcl::Window* pParent, const SfxItemSet& rSe
get(m_pBottomMF, "belowmf");
get(m_pTextDirectionLB, "textdirection");
+ m_pTextDirectionLB->InsertEntryValue( SvxResId( RID_SVXSTR_FRAMEDIR_LTR ), SvxFrameDirection::Horizontal_LR_TB );
+ m_pTextDirectionLB->InsertEntryValue( SvxResId( RID_SVXSTR_FRAMEDIR_RTL ), SvxFrameDirection::Horizontal_RL_TB );
+ m_pTextDirectionLB->InsertEntryValue( SvxResId( RID_SVXSTR_FRAMEDIR_SUPER ), SvxFrameDirection::Environment );
+
SetExchangeSupport();
const SfxPoolItem* pItem;