Fixed CH_STYLE to return correct type for "StyleDefault" method if style's type name is other than "Style"

git-svn-id: svn://ultimatepp.org/upp/trunk@3856 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
unodgs 2011-09-11 19:15:35 +00:00
parent ad4b15ff20
commit 338e05de3d

View file

@ -61,7 +61,7 @@ void COMBINE5(klass, __, type, __, style)::InitIt() { \
klass::style(); \
} \
\
const klass::Style& klass::style() \
const klass::type& klass::style() \
{ \
static COMBINE5(klass, __, type, __, style) b, standard; \
if(b.status == 0) { \