Hi all,
I read the following code in OOo source code(itempool.hxx):
#define SFX_WHICH_MAX 4999
static int IsWhich(USHORT nId) {
return nId && nId <= SFX_WHICH_MAX; }
static int IsSlot(USHORT nId) {
return nId && nId > SFX_WHICH_MAX; }
I think: if nId > 4999, it's a "Slot". if nId <= 4999 and nId !=0 , it's a
"Which".
What are the terms "slot" and "which" mean?
Thank you!
--
Best regards,
Lihua
北京红旗贰仟软件技术有限公司
Beijing Redflag 2000 Software Co., Ltd.
Building No.2, Block A, Huilongsen, 18 Xihuan Nanlu
Beijing Economic-Technological Development Area
Beijing - P.R.China
Tel:+86-10-51570010 ext.6141
http://www.RedOffice.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]