diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-09-25 14:15:59 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-09-25 14:15:59 +0200 |
commit | edaa6ac16800be64e86e1a022a6b4a9fff82649a (patch) | |
tree | e82b28f073efcbf309ffab91e1cc7f866a9932a6 /svx | |
parent | a00648547aa49ac0a80eea7441b53c842c323e83 (diff) |
Avoid a temporary.
Change-Id: I72bbb175f9bd2fa01800d108254c3385fd991cd0
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdomedia.cxx | 2 |
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(), |