diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-14 09:50:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-14 14:22:24 +0200 |
commit | 712b5e0b69aa9ab94c3ace93fc65435150f1dafa (patch) | |
tree | 41670db539d4ad98d59baa4c679f6508bf19ddf2 /svx | |
parent | 2b2cd4b06ede56a23a564c62b0b68f9df16a5f55 (diff) |
remove unused IMPORT_INET from GalleryGraphicImportRet enum
Change-Id: I658ac9675b993bdea46296833f715947056ed9b7
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galtheme.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx index 4e65d6cee710..9ec3adf6333f 100644 --- a/svx/source/gallery2/galtheme.cxx +++ b/svx/source/gallery2/galtheme.cxx @@ -1102,9 +1102,7 @@ bool GalleryTheme::InsertURL( const INetURLObject& rURL, sal_uIntPtr nInsertPos if( nImportRet != GalleryGraphicImportRet::IMPORT_NONE ) { - if ( GalleryGraphicImportRet::IMPORT_INET == nImportRet ) - pNewObj.reset(static_cast<SgaObject*>(new SgaObjectINet( aGraphic, rURL, aFormat ))); - else if ( aGraphic.IsAnimated() ) + if ( aGraphic.IsAnimated() ) pNewObj.reset(static_cast<SgaObject*>(new SgaObjectAnim( aGraphic, rURL, aFormat ))); else pNewObj.reset(static_cast<SgaObject*>(new SgaObjectBmp( aGraphic, rURL, aFormat ))); |