diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-25 15:16:51 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-29 09:23:46 +0200 |
commit | 3c127bc71d04167a731c4b58c77104e59d42dad7 (patch) | |
tree | e4bb0a413cfe1756653603e9618d43ddd4231fac /ucbhelper | |
parent | 74fbfde33205e0af1c44fbbe47963c827c7efedc (diff) |
cid#1371163 Missing move assignment operator
Change-Id: Ie050cfae965adf7bc43c91f366904cf6876783c0
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/client/content.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
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 { |