summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-05-31 17:27:57 -0800
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-06-02 00:51:10 +0200
commit6a4db3a7a57926d586bb4e43ae2d77ea29847fcd (patch)
tree7ce688cfaf8789f97d56ae045a53178a6bb18050
parent94cb2ac3cb5f2c951f70c3bf6b28aad9e2c0bdb7 (diff)
tdf#105225 A TOX background tab page based on the area tab page
Change-Id: Icc799b98b4ebf8dee6afab98d4a353f7b03e4449 Reviewed-on: https://gerrit.libreoffice.org/55151 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
-rw-r--r--sw/source/ui/index/cnttab.cxx2
-rw-r--r--sw/source/uibase/shells/textidx.cxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 79eeb008953c..9a24ea2cfcb6 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -299,7 +299,7 @@ SwMultiTOXTabDialog::SwMultiTOXTabDialog(vcl::Window* pParent, const SfxItemSet&
m_nSelectId = AddTabPage("index", SwTOXSelectTabPage::Create, nullptr);
AddTabPage("styles", SwTOXStylesTabPage::Create, nullptr);
m_nColumnId = AddTabPage("columns", SwColumnPage::Create, nullptr);
- m_nBackGroundId = AddTabPage("background", pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BACKGROUND ), nullptr);
+ m_nBackGroundId = AddTabPage("background", pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BKG ), nullptr);
m_nEntriesId = AddTabPage("entries", SwTOXEntryTabPage::Create, nullptr);
if(!pCurTOX)
SetCurPageId(m_nSelectId);
diff --git a/sw/source/uibase/shells/textidx.cxx b/sw/source/uibase/shells/textidx.cxx
index 099c5c4448fe..e6e13ad10f2a 100644
--- a/sw/source/uibase/shells/textidx.cxx
+++ b/sw/source/uibase/shells/textidx.cxx
@@ -110,6 +110,7 @@ void SwTextShell::ExecIdx(SfxRequest const &rReq)
RES_LR_SPACE, RES_LR_SPACE,
RES_BACKGROUND, RES_BACKGROUND,
RES_COL, RES_COL,
+ XATTR_FILL_FIRST, XATTR_FILL_LAST,
SID_ATTR_PAGE_SIZE, SID_ATTR_PAGE_SIZE,
FN_PARAM_TOX_TYPE, FN_PARAM_TOX_TYPE>{});
SwWrtShell& rSh = GetShell();