Remove superfluous call in wxTranslations::LoadCatalog().
This call to GetAvailableTranslations() did nothing, it's value was ignored, and it was done before m_loader was checked for != NULL. Probably some leftover debugging code. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0ec98fd6c9
commit
5fbd55b946
@ -1512,7 +1512,6 @@ bool wxTranslations::AddCatalog(const wxString& domain,
|
||||
|
||||
bool wxTranslations::LoadCatalog(const wxString& domain, const wxString& lang)
|
||||
{
|
||||
m_loader->GetAvailableTranslations(domain);
|
||||
wxCHECK_MSG( m_loader, false, "loader can't be NULL" );
|
||||
|
||||
wxMsgCatalog *cat = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user