diff options
author | Thorsten Behrens <thb@openoffice.org> | 2001-06-28 08:23:12 +0000 |
---|---|---|
committer | Thorsten Behrens <thb@openoffice.org> | 2001-06-28 08:23:12 +0000 |
commit | 41623a52ef5feb2ed85a4f7ac0fac3d1d2a63939 (patch) | |
tree | 74c26247f32dbb12ea5abc05cb34c4f9b56e3fb7 /svx/source/dialog/dlgctrl.cxx | |
parent | #88223# use of proxy for outlookexpress (diff) | |
download | core-41623a52ef5feb2ed85a4f7ac0fac3d1d2a63939.tar.gz core-41623a52ef5feb2ed85a4f7ac0fac3d1d2a63939.zip |
#88877# Disabled painting of middle button for angle control
Diffstat (limited to 'svx/source/dialog/dlgctrl.cxx')
-rw-r--r-- | svx/source/dialog/dlgctrl.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index 3ce092ead36d..57db91077dca 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dlgctrl.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: dr $ $Date: 2001-06-15 16:58:27 $ + * last change: $Author: thb $ $Date: 2001-06-28 09:23:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -461,7 +461,8 @@ void SvxRectCtl::Paint( const Rectangle& rRect ) DrawBitmap( aPtMB - aToCenter, aDstBtnSize, bNoVert?aBtnPnt3:aBtnPnt1, aBtnSize, *pBitmap ); DrawBitmap( aPtRB - aToCenter, aDstBtnSize, (bNoHorz | bNoVert)?aBtnPnt3:aBtnPnt1, aBtnSize, *pBitmap ); - if( IsEnabled() ) // && eCS != CS_ANGLE ) + // draw active button, avoid center pos for angle + if( IsEnabled() && (eCS != CS_ANGLE || aPtNew != aPtMM) ) { DrawBitmap( aPtNew - aToCenter, aDstBtnSize, aBtnPnt2, aBtnSize, *pBitmap ); } |