diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-20 14:26:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 11:13:52 +0200 |
commit | 95c348afa8f4f17c058c449ded75025175af0e4a (patch) | |
tree | 88f21ab151fbbf5c79e9adf4bae8dfb920c9e85a /svx/source/dialog/pagectrl.cxx | |
parent | 2149d4a88e9dc88c30e7475f8ea317e5c7b78529 (diff) |
loplugin:unusedfields in svx part2
Change-Id: Ie9fd55b71a152f428a397d9917918f0e9de39aaf
Reviewed-on: https://gerrit.libreoffice.org/39014
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/dialog/pagectrl.cxx')
-rw-r--r-- | svx/source/dialog/pagectrl.cxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx index 02eb8d54a5cc..1af0c97f9139 100644 --- a/svx/source/dialog/pagectrl.cxx +++ b/svx/source/dialog/pagectrl.cxx @@ -46,7 +46,6 @@ SvxPageWindow::SvxPageWindow(vcl::Window* pParent) nLeft(0), nRight(0), - pBorder(nullptr), bResetBackground(false), bFrameDirection(false), nFrameDirection(SvxFrameDirection::Horizontal_LR_TB), @@ -56,14 +55,11 @@ SvxPageWindow::SvxPageWindow(vcl::Window* pParent) nHdDist(0), nHdHeight(0), - pHdBorder(nullptr), nFtLeft(0), nFtRight(0), nFtDist(0), nFtHeight(0), - pFtBorder(nullptr), - maHeaderFillAttributes(), maFooterFillAttributes(), maPageFillAttributes(), @@ -90,13 +86,6 @@ SvxPageWindow::~SvxPageWindow() disposeOnce(); } -void SvxPageWindow::dispose() -{ - delete pHdBorder; - delete pFtBorder; - vcl::Window::dispose(); -} - VCL_BUILDER_FACTORY(SvxPageWindow) void SvxPageWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) @@ -404,26 +393,6 @@ void SvxPageWindow::drawFillAttributes(vcl::RenderContext& rRenderContext, } -void SvxPageWindow::SetBorder(const SvxBoxItem& rNew) -{ - delete pBorder; - pBorder = new SvxBoxItem(rNew); -} - - -void SvxPageWindow::SetHdBorder(const SvxBoxItem& rNew) -{ - delete pHdBorder; - pHdBorder = new SvxBoxItem(rNew); -} - - -void SvxPageWindow::SetFtBorder(const SvxBoxItem& rNew) -{ - delete pFtBorder; - pFtBorder = new SvxBoxItem(rNew); -} - void SvxPageWindow::EnableFrameDirection(bool bEnable) { bFrameDirection = bEnable; |