diff options
-rw-r--r-- | dbaccess/source/ui/app/AppDetailPageHelper.cxx | 3 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/unodatbr.cxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/control/tabletree.cxx | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx index 7216fc949575..496e5f1de0ac 100644 --- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx +++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx @@ -582,8 +582,6 @@ void OAppDetailPageHelper::createTablesPage(const Reference< XConnection>& _xCon OUString OAppDetailPageHelper::getElementIcons(ElementType _eType) { - ImageProvider aImageProvider; - sal_Int32 nDatabaseObjectType( 0 ); switch(_eType ) { @@ -603,7 +601,6 @@ void OAppDetailPageHelper::createPage(ElementType _eType,const Reference< XNameA OSL_ENSURE(E_TABLE != _eType,"E_TABLE isn't allowed."); OString sHelpId; - ImageProvider aImageProvider; Image aFolderImage; switch( _eType ) { diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx index 6eb0557ceed3..178b37c4f59b 100644 --- a/dbaccess/source/ui/browser/unodatbr.cxx +++ b/dbaccess/source/ui/browser/unodatbr.cxx @@ -2004,7 +2004,6 @@ void SbaTableQueryBrowser::implAddDatasource(const OUString& _rDbName, Image& _r if (_rTableName.isEmpty()) _rTableName = DBA_RES(RID_STR_TABLES_CONTAINER); - ImageProvider aImageProvider; if (!_rQueryImage) _rQueryImage = ImageProvider::getFolderImage( DatabaseObject::QUERY ); if (!_rTableImage) diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx index f9c21a7c8f45..2d7489323c4a 100644 --- a/dbaccess/source/ui/control/tabletree.cxx +++ b/dbaccess/source/ui/control/tabletree.cxx @@ -79,7 +79,6 @@ VCL_BUILDER_FACTORY_CONSTRUCTOR(OTableTreeListBox, 0) void OTableTreeListBox::implSetDefaultImages() { - ImageProvider aImageProvider; SetDefaultExpandedEntryBmp( ImageProvider::getFolderImage( DatabaseObject::TABLE ) ); SetDefaultCollapsedEntryBmp( ImageProvider::getFolderImage( DatabaseObject::TABLE ) ); } |