summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-06-25 19:04:47 +0200
committerCaolán McNamara <caolanm@redhat.com>2017-06-26 10:05:23 +0200
commit2bdfeb0b0973ebb7c4d9c410e22df2a56deef5bc (patch)
treeb295b912385c364bc9857aad9da8c1373aada81a /sw
parent642ae256ea5b8083ba0b3c097ca8ea52304b9cdb (diff)
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 <noel.grandin@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/possiz.hxx9
1 files changed, 0 insertions, 9 deletions
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());