Tag: cws_src680_dba24b User: oj Date: 2007-09-03 06:17:01+0000 Modified: dba/dbaccess/source/ui/browser/dsEntriesNoExp.cxx
Log: #10000# SbaTableQueryBrowser::getDatabaseObjectType: folder types and 'Unknown' not allowed here! File Changes: Directory: /dba/dbaccess/source/ui/browser/ =========================================== File [changed]: dsEntriesNoExp.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/dsEntriesNoExp.cxx?r1=1.18&r2=1.18.46.1 Delta lines: +19 -11 --------------------- --- dsEntriesNoExp.cxx 2007-05-10 10:19:00+0000 1.18 +++ dsEntriesNoExp.cxx 2007-09-03 06:16:59+0000 1.18.46.1 @@ -4,9 +4,9 @@ * * $RCSfile: dsEntriesNoExp.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.18.46.1 $ * - * last change: $Author: kz $ $Date: 2007/05/10 10:19:00 $ + * last change: $Author: oj $ $Date: 2007/09/03 06:16:59 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -234,6 +234,13 @@ // the images for this entry Image aImage, aImageHC; + if ( pData->eType == etDatasource ) + { + aImage = pImageProvider->getDatabaseImage( false ); + aImageHC = pImageProvider->getDatabaseImage( true ); + } + else + { bool bIsFolder = !isObject( pData->eType ); if ( bIsFolder ) { @@ -247,6 +254,7 @@ aImage = pImageProvider->getImage( GetEntryText( pEntryLoop ), nObjectType, false ); aImageHC = pImageProvider->getImage( GetEntryText( pEntryLoop ), nObjectType, true ); } + } // find the proper item, and set its icons USHORT nCount = pEntryLoop->ItemCount(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
