summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMathias Bauer <mbauer@apache.org>2011-09-18 20:27:09 +0000
committerMathias Bauer <mbauer@apache.org>2011-09-18 20:27:09 +0000
commita14df9afb0ad8876b8c9c476d00e776da2c338ab (patch)
tree40e27728cfb04a0216ccdc68580a12a5c399a63c /sw
parenta3243a9c5aaa422d787e7c1fa215507a7c5dd560 (diff)
cws mba34issues01: workaround for assertion in field name arrays; real fix is in cws swcoreseparation
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/fldui/fldmgr.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/fldui/fldmgr.cxx b/sw/source/ui/fldui/fldmgr.cxx
index ccf91732ccef..e8e9412fe1f7 100644
--- a/sw/source/ui/fldui/fldmgr.cxx
+++ b/sw/source/ui/fldui/fldmgr.cxx
@@ -1617,7 +1617,8 @@ sal_uInt16 SwFldMgr::GetCurrLanguage() const
void SwFieldType::_GetFldName()
{
- static const sal_uInt16 coFldCnt = STR_TYPE_END - STR_TYPE_BEGIN;
+ // mba: this is an awful mess; a fix is available, but too much for 3.4 -> applay plaster
+ static const sal_uInt16 coFldCnt = 43;
static sal_uInt16 __READONLY_DATA coFldNms[ coFldCnt ] = {
FLD_DATE_STD,