diff options
Diffstat (limited to 'sal/osl/unx/thread.cxx')
-rw-r--r-- | sal/osl/unx/thread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/thread.cxx b/sal/osl/unx/thread.cxx index a4a666ff2b31..2fb488a48b57 100644 --- a/sal/osl/unx/thread.cxx +++ b/sal/osl/unx/thread.cxx @@ -1019,7 +1019,7 @@ rtl_TextEncoding SAL_CALL osl_getThreadTextEncoding() /* check for thread specific encoding, use default if not set */ threadEncoding = static_cast<rtl_TextEncoding>( reinterpret_cast<sal_uIntPtr>(pthread_getspecific(g_thread.m_textencoding.m_key))); - if (0 == threadEncoding) + if (threadEncoding == 0) threadEncoding = g_thread.m_textencoding.m_default; return threadEncoding; |