On 08/07/2017 10:44 PM, julien2412 wrote:
But in this same method, I wonder if it'd be ok to make "sref" (see
static in order to avoid calling n times "getProcessLocale" method (defined
some lines above).

macosx_getLocale is only called through imp_getProcessLocale (sal/osl/unx/nlsupport.cxx), which is only called once from osl_getProcessLocale (sal/osl/unx/process_impl.cxx, controlled by the static g_process_locale struct). So n <= 1 anyway.
LibreOffice mailing list

Reply via email to