diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-11-12 20:00:46 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-13 07:11:39 +0100 |
commit | c8c5072a2f20d58807c233a1b62ded406931db78 (patch) | |
tree | 9055dd867cb21214c8911eecfa2933a8b4361246 /editeng/source/items/borderline.cxx | |
parent | 8d4a44d176fc7e80d6c5f13b1e73069967b9593b (diff) |
clang-tidy modernize-use-equals-default in editeng
remove default-able copy constructors/assignments
and a non-virtual default dtor.
Change-Id: I3fcc23a480031a9ede00ea22ae8f5ac5e892fd9c
Reviewed-on: https://gerrit.libreoffice.org/44657
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/items/borderline.cxx')
-rw-r--r-- | editeng/source/items/borderline.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx index 41b8eae938a3..3005e3161827 100644 --- a/editeng/source/items/borderline.cxx +++ b/editeng/source/items/borderline.cxx @@ -399,30 +399,6 @@ BorderWidthImpl SvxBorderLine::getWidthImpl( SvxBorderLineStyle nStyle ) return aImpl; } - -SvxBorderLine::SvxBorderLine( const SvxBorderLine& r ) -{ - *this = r; -} - - -SvxBorderLine& SvxBorderLine::operator=( const SvxBorderLine& r ) -{ - aColor = r.aColor; - m_nWidth = r.m_nWidth; - m_aWidthImpl = r.m_aWidthImpl; - m_bMirrorWidths = r.m_bMirrorWidths; - m_nMult = r.m_nMult; - m_nDiv = r.m_nDiv; - m_nStyle = r.m_nStyle; - m_bUseLeftTop = r.m_bUseLeftTop; - m_pColorOutFn = r.m_pColorOutFn; - m_pColorInFn = r.m_pColorInFn; - m_pColorGapFn = r.m_pColorGapFn; - return *this; -} - - void SvxBorderLine::ScaleMetrics( long nMult, long nDiv ) { m_nMult = nMult; |