summaryrefslogtreecommitdiff
path: root/sw/inc/hints.hxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-10-22 07:09:17 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-10-22 07:09:17 +0000
commit1657de774c04c814735ceb7665ce19efeb89440c (patch)
treef58435544d5043ef9440c09599f0c1089aabee26 /sw/inc/hints.hxx
parent1ee23fe888d0c65632ddc794a2d20afff7153739 (diff)
INTEGRATION: CWS swqbugfixes07 (1.3.252); FILE MERGED
2004/09/09 14:01:20 hbrinkm 1.3.252.1: #i32620# cache text node list for numrules
Diffstat (limited to 'sw/inc/hints.hxx')
-rw-r--r--sw/inc/hints.hxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx
index b30fa96825..837e99a6a6 100644
--- a/sw/inc/hints.hxx
+++ b/sw/inc/hints.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: hints.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: hr $ $Date: 2004-03-08 12:22:46 $
+ * last change: $Author: rt $ $Date: 2004-10-22 08:09:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -289,7 +289,10 @@ DECLARE_TABLE( SwTxtNodeTable, SwTxtNode* )
class SwNumRuleInfo : public SwMsgPoolItem
{
- SwTxtNodeTable aList;
+ static SwTxtNodeTable aDummyList;
+
+ SwTxtNodeTable * pList;
+ SwDoc * pDoc;
const String& rName;
public:
SwNumRuleInfo( const String& rRuleName );
@@ -301,7 +304,8 @@ public:
// Der Code steht im docnum.cxx
// #111955#
void MakeList( SwDoc& rDoc, BOOL bOutline = FALSE );
- SwTxtNodeTable& GetList() const { return (SwTxtNodeTable&)aList; }
+
+ const SwTxtNodeTable& GetList() const;
};
class SwNRuleLowerLevel : public SwMsgPoolItem