| 2358 | //----------------------------------------------------------------------------- |
| 2359 | |
| 2360 | LangTable * GuiControl::getGUILangTable() |
| 2361 | { |
| 2362 | if(mLangTable) |
| 2363 | return mLangTable; |
| 2364 | |
| 2365 | if(mLangTableName && *mLangTableName) |
| 2366 | { |
| 2367 | mLangTable = (LangTable *)getModLangTable((const UTF8*)mLangTableName); |
| 2368 | return mLangTable; |
| 2369 | } |
| 2370 | |
| 2371 | GuiControl *parent = getParent(); |
| 2372 | if(parent) |
| 2373 | return parent->getGUILangTable(); |
| 2374 | |
| 2375 | return NULL; |
| 2376 | } |
| 2377 | |
| 2378 | //----------------------------------------------------------------------------- |
| 2379 |
nothing calls this directly
no test coverage detected