diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-12-06 04:36:21 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-12-06 04:36:21 +0100 |
commit | f3c19f8263f3352ce4efff0965f8000d8347f6a5 (patch) | |
tree | 1e27af45e075128cbea1f4258d07eee543c6e643 /avmedia | |
parent | f014ea59e9e6e24ffead1961e8b689237b3927f0 (diff) |
SdrMediaObj: copy/paste support
This only works properly in Impress, because Calc and Writer lack
a SfxBaseModel on their clipboard document.
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/framework/mediaitem.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/avmedia/source/framework/mediaitem.cxx b/avmedia/source/framework/mediaitem.cxx index cb296375594a..f5150f659b79 100644 --- a/avmedia/source/framework/mediaitem.cxx +++ b/avmedia/source/framework/mediaitem.cxx @@ -250,10 +250,7 @@ void MediaItem::setURL( const ::rtl::OUString& rURL, { m_pImpl->m_URL = rURL; m_pImpl->m_nMaskSet |= AVMEDIA_SETMASK_URL; - if (xModel.is()) - { - m_pImpl->m_wModel = xModel; - } + m_pImpl->m_wModel = xModel; } //------------------------------------------------------------------------ |