summaryrefslogtreecommitdiff
path: root/ucbhelper/source/client/content.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucbhelper/source/client/content.cxx')
-rw-r--r--ucbhelper/source/client/content.cxx9
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
{