Tweaks to reduce OnChangeAction overhead

This commit is contained in:
Birunthan Mohanathas
2013-04-10 18:59:41 +03:00
parent 507e0294fe
commit aa3c7eb8ce
20 changed files with 82 additions and 44 deletions

View File

@ -213,7 +213,7 @@ void CMeasurePlugin::ReadOptions(CConfigParser& parser, const WCHAR* section)
** Gets the string value from the plugin.
**
*/
const WCHAR* CMeasurePlugin::GetStringValue(AUTOSCALE autoScale, double scale, int decimals, bool percentual)
const WCHAR* CMeasurePlugin::GetStringValue()
{
if (m_GetStringFunc)
{
@ -230,7 +230,7 @@ const WCHAR* CMeasurePlugin::GetStringValue(AUTOSCALE autoScale, double scale, i
if (ret) return CheckSubstitute(ret);
}
return CMeasure::GetStringValue(autoScale, scale, decimals, percentual);
return NULL;
}
/*