incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mba...@apache.org
Subject svn commit: r1172366 - /incubator/ooo/trunk/main/sw/source/ui/fldui/fldmgr.cxx
Date Sun, 18 Sep 2011 21:27:10 GMT
Author: mbauer
Date: Sun Sep 18 21:27:09 2011
New Revision: 1172366

URL: http://svn.apache.org/viewvc?rev=1172366&view=rev
Log:
cws mba34issues01: workaround for assertion in field name arrays; real fix is in cws swcoreseparation

Modified:
    incubator/ooo/trunk/main/sw/source/ui/fldui/fldmgr.cxx

Modified: incubator/ooo/trunk/main/sw/source/ui/fldui/fldmgr.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/ui/fldui/fldmgr.cxx?rev=1172366&r1=1172365&r2=1172366&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/ui/fldui/fldmgr.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/ui/fldui/fldmgr.cxx Sun Sep 18 21:27:09 2011
@@ -1617,7 +1617,8 @@ sal_uInt16 SwFldMgr::GetCurrLanguage() c
 
 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,



Mime
View raw message