Hello Kohei Yoshida, > 1) Is there any reason for using unsigned char to define sal_Bool, > instead of built-in bool?
This eases C++ <-> binary C UNO bridging, because sal_Bool is platform-defined whereas C++ bool is compiler-dependent. > 2) Is there any danger in using just plain bool for boolean type? When calling C++-UNO interfaces, you can use C++ bool to pass in, because it ought to implicitly convert to integers 0, 1, i.e. sal_False, sal_True. HTH, -Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
