diff options
Diffstat (limited to 'avmedia/source/viewer/mediawindow.cxx')
-rw-r--r-- | avmedia/source/viewer/mediawindow.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/viewer/mediawindow.cxx b/avmedia/source/viewer/mediawindow.cxx index 03dadbee4fb3..861c7d377c93 100644 --- a/avmedia/source/viewer/mediawindow.cxx +++ b/avmedia/source/viewer/mediawindow.cxx @@ -397,13 +397,13 @@ uno::Reference< graphic::XGraphic > MediaWindow::grabFrame( const OUString& rURL } } - if( !xRet.is() && !xGraphic.get() ) + if (!xRet.is() && !xGraphic) { const BitmapEx aBmpEx(AVMEDIA_BMP_EMPTYLOGO); xGraphic.reset( new Graphic( aBmpEx ) ); } - if( xGraphic.get() ) + if (xGraphic) xRet = xGraphic->GetXGraphic(); return xRet; |