Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >>>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > | Martin> Ehh, text.C: > | Martin> // well this is the caption hack since one caption is | Martin> really enough if (layout.labeltype == LABEL_SENSITIVE) { if | Martin> (!cursor.pos()) // set to standard-layout | Martin> cursor.par()->applyLayout(0); else // set to standard-layout | Martin> cursor.par()->next()->applyLayout(0); } > | Martin> ...when the only definition of applyLayout I can find expects | Martin> a string argument? > | Great. I'll apply a version of that which uses defaultLayoutName() | instead of "Standard".
I already did that. | Martin> Where is strong typing when you need it? > | Indeed :( I wonder how many of those are still there. Not many I guess. Will have a quick grep check. applyLayout(0): 0 layout(0) : 0 setLayout(0) : 1 in a comment -- Lgb