summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/animatedimagespeer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/animatedimagespeer.cxx')
-rw-r--r--toolkit/source/awt/animatedimagespeer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/animatedimagespeer.cxx b/toolkit/source/awt/animatedimagespeer.cxx
index 5277841af3e6..f065c8efaebe 100644
--- a/toolkit/source/awt/animatedimagespeer.cxx
+++ b/toolkit/source/awt/animatedimagespeer.cxx
@@ -133,12 +133,12 @@ namespace toolkit
{
// try (to find) the high-contrast version of the graphic first
aMediaProperties.put( "URL", lcl_getHighContrastURL( i_cachedImage.sImageURL ) );
- i_cachedImage.xGraphic.set( i_graphicProvider->queryGraphic( aMediaProperties.getPropertyValues() ), UNO_QUERY );
+ i_cachedImage.xGraphic = i_graphicProvider->queryGraphic( aMediaProperties.getPropertyValues() );
}
if ( !i_cachedImage.xGraphic.is() )
{
aMediaProperties.put( "URL", i_cachedImage.sImageURL );
- i_cachedImage.xGraphic.set( i_graphicProvider->queryGraphic( aMediaProperties.getPropertyValues() ), UNO_QUERY );
+ i_cachedImage.xGraphic = i_graphicProvider->queryGraphic( aMediaProperties.getPropertyValues() );
}
}
return i_cachedImage.xGraphic.is();