diff options
author | Susobhan Ghosh <susobhang70@gmail.com> | 2016-08-18 18:51:58 +0530 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-08-29 13:18:12 +0000 |
commit | 8393d4642273bfb3eb0cd0b68157e2b8674b70df (patch) | |
tree | e896339cebf19b6479e58d58cced7739cb87889b /sw/source/uibase/sidebar | |
parent | 4ef79854ea1219186296480d69fb10b05d1810c3 (diff) |
tdf#83830: Use samecontentlistbox in Header/Footer Panel
Change-Id: Ib24f6e6ac91859467f105c4db9b094454443ff9d
Reviewed-on: https://gerrit.libreoffice.org/28218
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sw/source/uibase/sidebar')
-rw-r--r-- | sw/source/uibase/sidebar/PageFooterPanel.hxx | 3 | ||||
-rw-r--r-- | sw/source/uibase/sidebar/PageHeaderPanel.hxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/uibase/sidebar/PageFooterPanel.hxx b/sw/source/uibase/sidebar/PageFooterPanel.hxx index 10d645955bf5..adc647951f9c 100644 --- a/sw/source/uibase/sidebar/PageFooterPanel.hxx +++ b/sw/source/uibase/sidebar/PageFooterPanel.hxx @@ -44,6 +44,7 @@ #include <svl/poolitem.hxx> #include <svl/eitem.hxx> #include <svx/spacinglistbox.hxx> +#include <svx/samecontentlistbox.hxx> namespace sw { namespace sidebar { @@ -83,7 +84,7 @@ private: VclPtr<CheckBox> mpFooterToggle; VclPtr<SpacingListBox> mpFooterSpacingLB; VclPtr<SpacingListBox> mpFooterMarginPresetLB; - VclPtr<ListBox> mpFooterLayoutLB; + VclPtr<SameContentListBox> mpFooterLayoutLB; VclPtr<FixedText> mpCustomEntry; OUString aCustomEntry; diff --git a/sw/source/uibase/sidebar/PageHeaderPanel.hxx b/sw/source/uibase/sidebar/PageHeaderPanel.hxx index 2cfde07ceb20..754fbc41bfdb 100644 --- a/sw/source/uibase/sidebar/PageHeaderPanel.hxx +++ b/sw/source/uibase/sidebar/PageHeaderPanel.hxx @@ -44,6 +44,7 @@ #include <svl/poolitem.hxx> #include <svl/eitem.hxx> #include <svx/spacinglistbox.hxx> +#include <svx/samecontentlistbox.hxx> namespace sw { namespace sidebar { @@ -83,7 +84,7 @@ private: VclPtr<CheckBox> mpHeaderToggle; VclPtr<SpacingListBox> mpHeaderSpacingLB; VclPtr<SpacingListBox> mpHeaderMarginPresetLB; - VclPtr<ListBox> mpHeaderLayoutLB; + VclPtr<SameContentListBox> mpHeaderLayoutLB; VclPtr<FixedText> mpCustomEntry; OUString aCustomEntry; |