summaryrefslogtreecommitdiffstats
path: root/sw/inc/expfld.hxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-07 06:24:34 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-07 06:24:34 +0000
commit2db5f3b7bb78069a2ad89a1fcc45c4846e191708 (patch)
tree6cb71a53bfd82fc4d34bc7604029112ba744a304 /sw/inc/expfld.hxx
parent#i91236# Get changes from CWS notes6. (diff)
downloadcore-2db5f3b7bb78069a2ad89a1fcc45c4846e191708.tar.gz
core-2db5f3b7bb78069a2ad89a1fcc45c4846e191708.zip
INTEGRATION: CWS os116 (1.11.54); FILE MERGED
2008/05/27 12:36:41 os 1.11.54.1: #i82544# late init added to make show variable fields work in headers
Diffstat (limited to 'sw/inc/expfld.hxx')
-rw-r--r--sw/inc/expfld.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx
index c7d9df18e14d..febde8d8e6f8 100644
--- a/sw/inc/expfld.hxx
+++ b/sw/inc/expfld.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: expfld.hxx,v $
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
* This file is part of OpenOffice.org.
*
@@ -99,6 +99,8 @@ class SwGetExpField : public SwFormulaField
BOOL bIsInBodyTxt;
USHORT nSubType;
+ bool bLateInitialization; // #i82544#
+
public:
SwGetExpField( SwGetExpFieldType*, const String& rFormel,
USHORT nSubType = nsSwGetSetExpType::GSE_EXPR, ULONG nFmt = 0);
@@ -132,6 +134,8 @@ public:
virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich );
static USHORT GetReferenceTextPos( const SwFmtFld& rFmt, SwDoc& rDoc);
+ // #i82544#
+ void SetLateInitialization() { bLateInitialization = true;}
};
inline void SwGetExpField::ChgExpStr(const String& rExpand)