remove unused HiContrast args
This commit is contained in:
parent
505409cbe5
commit
969750a995
3 changed files with 1 additions and 35 deletions
|
@ -567,15 +567,6 @@ public:
|
|||
sal_uInt16 nIdx1,
|
||||
sal_uInt16 nIdx2 = INDEX_IGNORE );
|
||||
|
||||
virtual void GetContent( String &,
|
||||
Bitmap &rClosedBitmap,
|
||||
Bitmap &rOpenedBitmap,
|
||||
BmpColorMode eColorMode,
|
||||
sal_Bool &bCanDelete,
|
||||
sal_uInt16 nPos,
|
||||
sal_uInt16 nIdx1,
|
||||
sal_uInt16 nIdx2 = INDEX_IGNORE );
|
||||
|
||||
virtual void TriggerHelpPI(
|
||||
sal_uInt16 nIdx1, sal_uInt16 nIdx2, sal_uInt16 nIdx3);
|
||||
|
||||
|
|
|
@ -1165,20 +1165,10 @@ void SfxOrganizeListBox_Impl::RequestingChilds( SvLBoxEntry* pEntry )
|
|||
*/
|
||||
|
||||
{
|
||||
// wenn keine Childs vorhanden sind, gfs. Childs
|
||||
// einfuegen
|
||||
BmpColorMode eColorMode = BMP_COLOR_NORMAL;
|
||||
|
||||
if ( GetSettings().GetStyleSettings().GetHighContrastMode() )
|
||||
eColorMode = BMP_COLOR_HIGHCONTRAST;
|
||||
|
||||
|
||||
if ( !GetModel()->HasChilds( pEntry ) )
|
||||
{
|
||||
WaitObject aWaitCursor( this );
|
||||
|
||||
// Choose the correct mask color dependent from eColorMode. This must be adopted if
|
||||
// we change the mask color for normal images, too!
|
||||
Color aMaskColor( COL_LIGHTMAGENTA );
|
||||
|
||||
// hier sind alle initial eingefuegt
|
||||
|
@ -1208,7 +1198,7 @@ void SfxOrganizeListBox_Impl::RequestingChilds( SvLBoxEntry* pEntry )
|
|||
{
|
||||
BOOL bDeletable;
|
||||
aRef->GetContent(
|
||||
aText, aClosedBmp, aOpenedBmp, eColorMode, bDeletable,
|
||||
aText, aClosedBmp, aOpenedBmp, bDeletable,
|
||||
i, aPath[nDocLevel+1], aPath[nDocLevel+2]);
|
||||
|
||||
// Create image with the correct mask color
|
||||
|
|
|
@ -401,24 +401,9 @@ BOOL SfxObjectShell::CanHaveChilds(USHORT nIdx1,
|
|||
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
void SfxObjectShell::GetContent(String &rText,
|
||||
Bitmap &rClosedBitmap,
|
||||
Bitmap &rOpenedBitmap,
|
||||
BOOL &bCanDel,
|
||||
USHORT i,
|
||||
USHORT nIdx1,
|
||||
USHORT nIdx2 )
|
||||
{
|
||||
DBG_ERRORFILE( "Non high contrast method called. Please update calling code!" );
|
||||
SfxObjectShell::GetContent( rText, rClosedBitmap, rOpenedBitmap, BMP_COLOR_NORMAL, bCanDel, i, nIdx1, nIdx2 );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
void SfxObjectShell::GetContent(String &rText,
|
||||
Bitmap &rClosedBitmap,
|
||||
Bitmap &rOpenedBitmap,
|
||||
BmpColorMode eColorMode,
|
||||
BOOL &bCanDel,
|
||||
USHORT i,
|
||||
USHORT nIdx1,
|
||||
|
|
Loading…
Reference in a new issue