diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-29 21:09:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-30 08:40:08 +0100 |
commit | 799f159ac00ca155275aebd930f538a1924ca471 (patch) | |
tree | 571aec7cc5b16ef434ba0cbfe21944c8eab5de0e /sw | |
parent | f8325dd3ea14a4766cd2bb7c0249338b59c2ed28 (diff) |
remove unused HeaderBarItemBits enum values
Change-Id: I84752cb9d683cb22c96d91cc54d7c4dc474603fc
Reviewed-on: https://gerrit.libreoffice.org/64269
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/dbui/mmaddressblockpage.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/dbui/mmoutputtypepage.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/dbui/selectdbtabledialog.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx index 35415c65df6d..178d5d985d19 100644 --- a/sw/source/ui/dbui/mmaddressblockpage.cxx +++ b/sw/source/ui/dbui/mmaddressblockpage.cxx @@ -1173,7 +1173,7 @@ SwAssignFieldsDialog::SwAssignFieldsDialog( Size aOutputSize(m_pFieldsControl->m_aHeaderHB->GetSizePixel()); sal_Int32 nFirstWidth; sal_Int32 nSecondWidth = nFirstWidth = aOutputSize.Width() / 3; - const HeaderBarItemBits nHeadBits = HeaderBarItemBits::VCENTER | HeaderBarItemBits::FIXED| HeaderBarItemBits::FIXEDPOS; + const HeaderBarItemBits nHeadBits = HeaderBarItemBits::FIXED| HeaderBarItemBits::FIXEDPOS; m_pFieldsControl->m_aHeaderHB->InsertItem( 1, sAddressElement, nFirstWidth, nHeadBits|HeaderBarItemBits::LEFT); m_pFieldsControl->m_aHeaderHB->InsertItem( 2, sMatchesTo, nSecondWidth, nHeadBits|HeaderBarItemBits::LEFT); m_pFieldsControl->m_aHeaderHB->InsertItem( 3, sPreview, diff --git a/sw/source/ui/dbui/mmoutputtypepage.cxx b/sw/source/ui/dbui/mmoutputtypepage.cxx index 917f70e4ead1..d0b3f5c875a8 100644 --- a/sw/source/ui/dbui/mmoutputtypepage.cxx +++ b/sw/source/ui/dbui/mmoutputtypepage.cxx @@ -260,10 +260,10 @@ SwSendMailDialog::SwSendMailDialog(vcl::Window *pParent, SwMailMergeConfigItem& long nPos2 = aSize.Width()/3; m_pStatusHB->InsertItem( ITEMID_TASK, sTask, nPos1, - HeaderBarItemBits::LEFT | HeaderBarItemBits::VCENTER ); + HeaderBarItemBits::LEFT ); m_pStatusHB->InsertItem( ITEMID_STATUS, sStatus, nPos2, - HeaderBarItemBits::LEFT | HeaderBarItemBits::VCENTER ); + HeaderBarItemBits::LEFT ); static long nTabs[] = {0, nPos1}; m_pStatus->SetStyle( m_pStatus->GetStyle() | WB_SORT | WB_HSCROLL | WB_CLIPCHILDREN | WB_TABSTOP ); diff --git a/sw/source/ui/dbui/selectdbtabledialog.cxx b/sw/source/ui/dbui/selectdbtabledialog.cxx index 29d8770f8585..f931563cd46a 100644 --- a/sw/source/ui/dbui/selectdbtabledialog.cxx +++ b/sw/source/ui/dbui/selectdbtabledialog.cxx @@ -63,7 +63,7 @@ SwAddressTable::SwAddressTable(SvSimpleTableContainer& rParent) void SwAddressTable::InsertHeaderItem(sal_uInt16 nColumn, const OUString& rText) { - GetTheHeaderBar().InsertItem( nColumn, rText, 0, HeaderBarItemBits::LEFT | HeaderBarItemBits::VCENTER ); + GetTheHeaderBar().InsertItem( nColumn, rText, 0, HeaderBarItemBits::LEFT ); } void SwAddressTable::Resize() |