summaryrefslogtreecommitdiff
path: root/sw/inc/calc.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-07 11:27:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-07 13:50:04 +0100
commit18a0c690efb286a511276bfc72fd50f6e0ce721d (patch)
treedcdb6ffe9ae95e069b0938577875ff39badd0f0f /sw/inc/calc.hxx
parent024ff020cbf451ab8ef77015218c33a7c54f7b08 (diff)
dangling pointer dereference in SwCalc::Str2Double
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;