#100501# regard readoly flag in SwViewOption
This commit is contained in:
parent
ffe9e35033
commit
30fbddfddb
2 changed files with 10 additions and 6 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: inftxt.cxx,v $
|
||||
*
|
||||
* $Revision: 1.73 $
|
||||
* $Revision: 1.74 $
|
||||
*
|
||||
* last change: $Author: fme $ $Date: 2002-06-19 11:52:48 $
|
||||
* last change: $Author: os $ $Date: 2002-06-20 09:37:52 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -1312,7 +1312,9 @@ void SwTxtPaintInfo::DrawViewOpt( const SwLinePortion &rPor,
|
|||
case POR_HIDDEN:
|
||||
case POR_TOX:
|
||||
case POR_REF :
|
||||
if ( !GetOpt().IsPagePreview() && SwViewOption::IsFieldShadings() )
|
||||
if ( !GetOpt().IsPagePreview() &&
|
||||
!GetOpt().IsReadonly() &&\
|
||||
SwViewOption::IsFieldShadings() )
|
||||
bDraw = sal_True;
|
||||
break;
|
||||
case POR_TAB: if ( GetOpt().IsTab() ) bDraw = sal_True; break;
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: txttab.cxx,v $
|
||||
*
|
||||
* $Revision: 1.9 $
|
||||
* $Revision: 1.10 $
|
||||
*
|
||||
* last change: $Author: fme $ $Date: 2002-05-27 09:36:03 $
|
||||
* last change: $Author: os $ $Date: 2002-06-20 09:37:52 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -447,7 +447,9 @@ void SwTabPortion::Paint( const SwTxtPaintInfo &rInf ) const
|
|||
#ifndef PRODUCT
|
||||
// Wir wollen uns die Fixbreite anzeigen
|
||||
if( rInf.OnWin() && OPTDBG( rInf ) &&
|
||||
!rInf.GetOpt().IsPagePreview() && SwViewOption::IsFieldShadings() )
|
||||
!rInf.GetOpt().IsPagePreview() &&
|
||||
!rInf.GetOpt().IsReadonly() &&
|
||||
SwViewOption::IsFieldShadings() )
|
||||
{
|
||||
const KSHORT nWidth = PrtWidth();
|
||||
((SwTabPortion*)this)->PrtWidth( GetFixWidth() );
|
||||
|
|
Loading…
Reference in a new issue