summaryrefslogtreecommitdiff
path: root/sw/source/core/text/redlnitr.hxx
diff options
context:
space:
mode:
authorAndreas Martens <ama@openoffice.org>2001-03-08 07:22:27 +0000
committerAndreas Martens <ama@openoffice.org>2001-03-08 07:22:27 +0000
commitb7d6c2e0356d0a19d9daebadaa9cb34335f9f746 (patch)
treed29a653bf5c53e1df36c153acbb20fb12a25cfd4 /sw/source/core/text/redlnitr.hxx
parentb2e2a5a2dd3a6c42520f644a3f493e6ff063e8af (diff)
Opt.(FME): cache for paragraph style
Diffstat (limited to 'sw/source/core/text/redlnitr.hxx')
-rw-r--r--sw/source/core/text/redlnitr.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/sw/source/core/text/redlnitr.hxx b/sw/source/core/text/redlnitr.hxx
index 3ae005afdc25..94e853cfa5e0 100644
--- a/sw/source/core/text/redlnitr.hxx
+++ b/sw/source/core/text/redlnitr.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: redlnitr.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: ama $ $Date: 2001-03-05 12:50:48 $
+ * last change: $Author: ama $ $Date: 2001-03-08 08:21:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -130,13 +130,10 @@ class SwRedlineItr
#ifdef OLD_ATTR_HANDLING
void _ChangeTxtAttr( SwFont* pFnt, SwTxtAttr &rHt, sal_Bool bChg );
#endif
- inline sal_Bool LeaveExtend( SwFont& rFnt, xub_StrLen nNew )
- { return pExt->Leave(rFnt, nNew ); }
inline short EnterExtend( SwFont& rFnt, xub_StrLen nNew )
{ if( pExt ) return pExt->Enter( rFnt, nNew ); return 0; }
inline xub_StrLen NextExtend( xub_StrLen nNext )
{ if( pExt ) return pExt->Next( nNext ); return nNext; }
- inline sal_Bool ExtOn() { if( pExt ) return pExt->IsOn(); return sal_False; }
public:
#ifndef OLD_ATTR_HANDLING
SwRedlineItr( const SwTxtNode& rTxtNd, SwFont& rFnt, SwAttrHandler& rAH,
@@ -165,6 +162,10 @@ public:
inline sal_Bool ChkSpecialUnderline() const
{ if ( IsOn() ) return _ChkSpecialUnderline(); return sal_False; }
sal_Bool CheckLine( xub_StrLen nChkStart, xub_StrLen nChkEnd );
+ inline sal_Bool LeaveExtend( SwFont& rFnt, xub_StrLen nNew )
+ { return pExt->Leave(rFnt, nNew ); }
+ inline sal_Bool ExtOn() { if( pExt ) return pExt->IsOn(); return sal_False; }
+
};