From 3c127bc71d04167a731c4b58c77104e59d42dad7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 25 Aug 2016 15:16:51 +0200 Subject: cid#1371163 Missing move assignment operator Change-Id: Ie050cfae965adf7bc43c91f366904cf6876783c0 --- ucbhelper/source/client/content.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ucbhelper') diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx index 080e9e57e096..82af44ced486 100644 --- a/ucbhelper/source/client/content.cxx +++ b/ucbhelper/source/client/content.cxx @@ -337,6 +337,10 @@ Content::Content( const Content& rOther ) m_xImpl = rOther.m_xImpl; } +Content::Content( Content&& rOther ) +{ + m_xImpl = std::move(rOther.m_xImpl); +} // static bool Content::create( const OUString& rURL, @@ -374,6 +378,11 @@ Content& Content::operator=( const Content& rOther ) return *this; } +Content& Content::operator=( Content&& rOther ) +{ + m_xImpl = std::move(rOther.m_xImpl); + return *this; +} Reference< XContent > Content::get() const { -- cgit