sw/source/core/text/possiz.hxx | 9 --------- 1 file changed, 9 deletions(-)
New commits: commit 2bdfeb0b0973ebb7c4d9c410e22df2a56deef5bc Author: Jochen Nitschke <[email protected]> Date: Sun Jun 25 19:04:47 2017 +0200 use implicit default copy assignment I guess Coverity complained that there was a copy assignment operator but no copy ctor, move assignment and move ctor defined. Change-Id: I10641c9f403e609406b2a1420b22abbfc9dbc6fc Reviewed-on: https://gerrit.libreoffice.org/39240 Reviewed-by: Noel Grandin <[email protected]> Tested-by: Jenkins <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/sw/source/core/text/possiz.hxx b/sw/source/core/text/possiz.hxx index e256494911e3..eaad3597f460 100644 --- a/sw/source/core/text/possiz.hxx +++ b/sw/source/core/text/possiz.hxx @@ -40,9 +40,6 @@ public: } #if defined(__COVERITY__) ~SwPosSize() COVERITY_NOEXCEPT_FALSE {} - SwPosSize(const SwPosSize&) = default; - SwPosSize(SwPosSize&&) = default; - SwPosSize& operator=(SwPosSize&&) = default; #endif sal_uInt16 Height() const { return nHeight; } void Height( const sal_uInt16 nNew ) { nHeight = nNew; } @@ -59,12 +56,6 @@ public: nHeight = sal_uInt16(rSize.Width()); nWidth = sal_uInt16(rSize.Height()); } - SwPosSize& operator=(const SwPosSize &rSize ) - { - nWidth = rSize.Width(); - nHeight = rSize.Height(); - return *this; - } SwPosSize& operator=( const Size &rSize ) { nWidth = sal_uInt16(rSize.Width());
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
