You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2013/03/05 10:51:35 UTC
svn commit: r1452712 -
/openoffice/trunk/main/editeng/source/outliner/outleeng.cxx
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 );