Author: hdu
Date: Tue Mar 5 09:51:35 2013
New Revision: 1452712
URL: http://svn.apache.org/r1452712
Log:
fix miscarried bitwise check in OutlinerEditEng::PaintingFirstLine()
Modified:
openoffice/trunk/main/editeng/source/outliner/outleeng.cxx
Modified: openoffice/trunk/main/editeng/source/outliner/outleeng.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/editeng/source/outliner/outleeng.cxx?rev=1452712&r1=1452711&r2=1452712&view=diff
==============================================================================
--- openoffice/trunk/main/editeng/source/outliner/outleeng.cxx (original)
+++ openoffice/trunk/main/editeng/source/outliner/outleeng.cxx Tue Mar 5
09:51:35 2013
@@ -53,7 +53,7 @@ OutlinerEditEng::~OutlinerEditEng()
void OutlinerEditEng::PaintingFirstLine( sal_uInt16 nPara, const Point&
rStartPos, long nBaseLineY, const Point& rOrigin, short nOrientation,
OutputDevice* pOutDev )
{
- if( GetControlWord() && EE_CNTRL_OUTLINER )
+ if( GetControlWord() & EE_CNTRL_OUTLINER )
{
PaintFirstLineInfo aInfo( nPara, rStartPos, nBaseLineY,
rOrigin, nOrientation, pOutDev );
pOwner->maPaintFirstLineHdl.Call( &aInfo );