summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-09-25 14:15:59 +0200
committerThorsten Behrens <tbehrens@suse.com>2012-09-25 14:15:59 +0200
commitedaa6ac16800be64e86e1a022a6b4a9fff82649a (patch)
treee82b28f073efcbf309ffab91e1cc7f866a9932a6 /svx/source/svdraw
parenta00648547aa49ac0a80eea7441b53c842c323e83 (diff)
Avoid a temporary.
Change-Id: I72bbb175f9bd2fa01800d108254c3385fd991cd0
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdomedia.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx
index a811ad319250..4e42ce8ed612 100644
--- a/svx/source/svdraw/svdomedia.cxx
+++ b/svx/source/svdraw/svdomedia.cxx
@@ -363,7 +363,7 @@ void SdrMediaObj::mediaPropertiesChanged( const ::avmedia::MediaItem& rNewProper
if( ( AVMEDIA_SETMASK_URL & nMaskSet ) &&
( rNewProperties.getURL() != getURL() ))
{
- m_pImpl->m_xCachedSnapshot = uno::Reference< graphic::XGraphic >();
+ m_pImpl->m_xCachedSnapshot.clear();
::rtl::OUString const url(rNewProperties.getURL());
if ((0 == rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength(
url.getStr(), url.getLength(),