summaryrefslogtreecommitdiff
path: root/sw/inc/rolbck.hxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2009-08-04 09:27:27 +0000
committerThomas Lange <tl@openoffice.org>2009-08-04 09:27:27 +0000
commit89b70cad0e882861714d7a158c21a1fceca921a1 (patch)
tree140d5502a33dadf2966034166e39a1dc2a92b28b /sw/inc/rolbck.hxx
parent9318ceab8acced650a36d7e0e13720c01645ba13 (diff)
#i103991# fixed crash
Diffstat (limited to 'sw/inc/rolbck.hxx')
-rw-r--r--sw/inc/rolbck.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/inc/rolbck.hxx b/sw/inc/rolbck.hxx
index 6dd6a90ad640..63bd174830af 100644
--- a/sw/inc/rolbck.hxx
+++ b/sw/inc/rolbck.hxx
@@ -160,8 +160,11 @@ public:
class SwHistorySetTxtFld : public SwHistoryHint
{
- const ::std::auto_ptr<SwFmtFld> m_pFld;
+ //!! beware of the order for the declation of thje auto_ptrs.
+ //!! If they get destroyed in the wrong order sw may crash (namely mail-merge as well)
::std::auto_ptr<SwFieldType> m_pFldType;
+ const ::std::auto_ptr<SwFmtFld> m_pFld;
+
ULONG m_nNodeIndex;
xub_StrLen m_nPos;
USHORT m_nFldWhich;