diff options
author | David Tardon <dtardon@redhat.com> | 2015-04-29 13:03:07 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-04-29 13:03:18 +0200 |
commit | b1259761aab67335a353efecbe42a811ff5ba1dc (patch) | |
tree | e08ce38bfaf117bd0690bd31c736a68aa8acac45 /svx/source | |
parent | 174ba8550349778f661a30d5c2d3243bff5f3c0d (diff) |
WaE: declaration of ‘FILE’ shadows a global declaration
Change-Id: I544e1154c846a8b5da4ab3dee72e3aa1332557e6
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/gallery2/galmisc.cxx | 4 | ||||
-rw-r--r-- | svx/source/gallery2/galobj.cxx | 2 | ||||
-rw-r--r-- | svx/source/gallery2/galtheme.cxx | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx index c2e129852585..c2bbb6f75a95 100644 --- a/svx/source/gallery2/galmisc.cxx +++ b/svx/source/gallery2/galmisc.cxx @@ -85,7 +85,7 @@ IMPL_LINK( SgaUserDataFactory, MakeUserData, SdrObjFactory*, pObjFactory ) GalleryGraphicImportRet GalleryGraphicImport( const INetURLObject& rURL, Graphic& rGraphic, OUString& rFilterName, bool bShowProgress ) { - GalleryGraphicImportRet nRet = GalleryGraphicImportRet::NONE; + GalleryGraphicImportRet nRet = GalleryGraphicImportRet::IMPORT_NONE; SfxMedium aMedium( rURL.GetMainURL( INetURLObject::NO_DECODE ), StreamMode::READ ); aMedium.Download(); @@ -101,7 +101,7 @@ GalleryGraphicImportRet GalleryGraphicImport( const INetURLObject& rURL, Graphic if( !rGraphicFilter.ImportGraphic( rGraphic, rURL.GetMainURL( INetURLObject::NO_DECODE ), *pIStm, GRFILTER_FORMAT_DONTKNOW, &nFormat ) ) { rFilterName = rGraphicFilter.GetImportFormatName( nFormat ); - nRet = GalleryGraphicImportRet::FILE; + nRet = GalleryGraphicImportRet::IMPORT_FILE; } } diff --git a/svx/source/gallery2/galobj.cxx b/svx/source/gallery2/galobj.cxx index 9e300ec629ab..299abab1d28f 100644 --- a/svx/source/gallery2/galobj.cxx +++ b/svx/source/gallery2/galobj.cxx @@ -278,7 +278,7 @@ SgaObjectBmp::SgaObjectBmp( const INetURLObject& rURL ) Graphic aGraphic; OUString aFilter; - if ( GalleryGraphicImportRet::NONE != GalleryGraphicImport( rURL, aGraphic, aFilter ) ) + if ( GalleryGraphicImportRet::IMPORT_NONE != GalleryGraphicImport( rURL, aGraphic, aFilter ) ) Init( aGraphic, rURL ); } diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx index c872839b5fe6..9fd56751e8a3 100644 --- a/svx/source/gallery2/galtheme.cxx +++ b/svx/source/gallery2/galtheme.cxx @@ -553,7 +553,7 @@ void GalleryTheme::Actualize( const Link& rActualizeLink, GalleryProgress* pProg { aGraphic.Clear(); - if ( GalleryGraphicImport( aURL, aGraphic, aFormat ) != GalleryGraphicImportRet::NONE ) + if ( GalleryGraphicImport( aURL, aGraphic, aFormat ) != GalleryGraphicImportRet::IMPORT_NONE ) { boost::scoped_ptr<SgaObject> pNewObj; @@ -790,7 +790,7 @@ bool GalleryTheme::GetGraphic( sal_uIntPtr nPos, Graphic& rGraphic, bool bProgre case( SGA_OBJ_INET ): { OUString aFilterDummy; - bRet = ( GalleryGraphicImport( aURL, rGraphic, aFilterDummy, bProgress ) != GalleryGraphicImportRet::NONE ); + bRet = ( GalleryGraphicImport( aURL, rGraphic, aFilterDummy, bProgress ) != GalleryGraphicImportRet::IMPORT_NONE ); } break; @@ -1108,9 +1108,9 @@ bool GalleryTheme::InsertURL( const INetURLObject& rURL, sal_uIntPtr nInsertPos const GalleryGraphicImportRet nImportRet = GalleryGraphicImport( rURL, aGraphic, aFormat ); bool bRet = false; - if( nImportRet != GalleryGraphicImportRet::NONE ) + if( nImportRet != GalleryGraphicImportRet::IMPORT_NONE ) { - if ( GalleryGraphicImportRet::INET == nImportRet ) + if ( GalleryGraphicImportRet::IMPORT_INET == nImportRet ) pNewObj.reset((SgaObject*) new SgaObjectINet( aGraphic, rURL, aFormat )); else if ( aGraphic.IsAnimated() ) pNewObj.reset((SgaObject*) new SgaObjectAnim( aGraphic, rURL, aFormat )); |