summaryrefslogtreecommitdiff
path: root/sw/inc/calc.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-09-09 19:19:00 +0200
committerMichael Stahl <mst@openoffice.org>2010-09-09 19:19:00 +0200
commit33b5681d5a96ba9962a1d570e40051ed94b60247 (patch)
tree6e87e0ae5c7a2c0170f76e9b8b9b9e42c56914d7 /sw/inc/calc.hxx
parentf93e69145f9c5bde1f5232c873aa8bb495ce57b5 (diff)
sw34bf01: #i114409#: sw: apply patch by dtardon:
prevent deref. of dangling ptr if there is no other instance of SvtSysLocale hanging around somewhere
Diffstat (limited to 'sw/inc/calc.hxx')
-rw-r--r--sw/inc/calc.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx
index f5cbcc6c8c38..74c785c88e83 100644
--- a/sw/inc/calc.hxx
+++ b/sw/inc/calc.hxx
@@ -28,6 +28,7 @@
#define _CALC_HXX
#include <svl/svarray.hxx>
+#include <unotools/syslocale.hxx>
#ifndef __SBX_SBXVALUE //autogen
#include <basic/sbxvar.hxx>
@@ -185,6 +186,7 @@ class SwCalc
xub_StrLen nCommandPos;
SwDoc& rDoc;
+ SvtSysLocale m_aSysLocale;
const LocaleDataWrapper* pLclData;
CharClass* pCharClass;