Tag: cws_dev300_dba31b User: oj Date: 2008-08-18 11:37:55+0000 Modified: dba/reportdesign/source/ui/report/ReportSection.cxx
Log: unsigned fix File Changes: Directory: /dba/reportdesign/source/ui/report/ ============================================== File [changed]: ReportSection.cxx Url: http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/report/ReportSection.cxx?r1=1.11.18.1&r2=1.11.18.2 Delta lines: +4 -4 ------------------- --- ReportSection.cxx 2008-08-13 08:59:44+0000 1.11.18.1 +++ ReportSection.cxx 2008-08-18 11:37:52+0000 1.11.18.2 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ReportSection.cxx,v $ - * $Revision: 1.11.18.1 $ + * $Revision: 1.11.18.2 $ * * This file is part of OpenOffice.org. * @@ -159,7 +159,7 @@ // draw background self using wallpaper OutputDevice& rTargetOutDev = pTargetPaintWindow->GetTargetOutputDevice(); sal_Int32 nColor = m_xSection->getBackColor(); - if ( nColor == COL_TRANSPARENT ) + if ( nColor == (sal_Int32)COL_TRANSPARENT ) nColor = getStyleProperty<sal_Int32>(m_xSection->getReportDefinition(),PROPERTY_BACKCOLOR); rTargetOutDev.DrawWallpaper(rRect, Wallpaper(Color(nColor))); } @@ -224,7 +224,7 @@ m_pView->SetDragStripes( TRUE ); m_pView->SetPageVisible(); sal_Int32 nColor = m_xSection->getBackColor(); - if ( nColor == COL_TRANSPARENT ) + if ( nColor == (sal_Int32)COL_TRANSPARENT ) nColor = getStyleProperty<sal_Int32>(m_xSection->getReportDefinition(),PROPERTY_BACKCOLOR); m_pView->SetApplicationDocumentColor(nColor); @@ -497,7 +497,7 @@ if ( _rEvent.Source == m_xSection || PROPERTY_BACKCOLOR == _rEvent.PropertyName ) { sal_Int32 nColor = m_xSection->getBackColor(); - if ( nColor == COL_TRANSPARENT ) + if ( nColor == (sal_Int32)COL_TRANSPARENT ) nColor = getStyleProperty<sal_Int32>(m_xSection->getReportDefinition(),PROPERTY_BACKCOLOR); m_pView->SetApplicationDocumentColor(nColor); Invalidate(INVALIDATE_NOCHILDREN|INVALIDATE_NOERASE); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
