diff options
author | David Ostrovsky <david@ostrovsky.org> | 2015-09-13 00:03:26 +0200 |
---|---|---|
committer | David Ostrovsky <david@ostrovsky.org> | 2015-09-13 05:36:14 +0000 |
commit | 9a1e22daae669d38d2ae5142a59c66c28d3871bf (patch) | |
tree | 66a041c74b9f79d68eb89f0d719efd6d29f7696e /framework | |
parent | 28ebbf16add84ddb5bef1b95574af1f26a305f37 (diff) |
Replace snwprintf with _snwprintf
Change-Id: Ieb7009f6fbbd7ac6a3532cfa7b71eb0c1339d1ef
Reviewed-on: https://gerrit.libreoffice.org/18524
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uielement/spinfieldtoolbarcontroller.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/spinfieldtoolbarcontroller.cxx b/framework/source/uielement/spinfieldtoolbarcontroller.cxx index 2381be2351d8..6c9970c540a4 100644 --- a/framework/source/uielement/spinfieldtoolbarcontroller.cxx +++ b/framework/source/uielement/spinfieldtoolbarcontroller.cxx @@ -503,9 +503,9 @@ OUString SpinfieldToolbarController::impl_formatOutputString( double fValue ) aBuffer[0] = 0; if ( m_bFloat ) - snwprintf( reinterpret_cast<wchar_t *>(aBuffer), 128, reinterpret_cast<const wchar_t *>(m_aOutFormat.getStr()), fValue ); + _snwprintf( reinterpret_cast<wchar_t *>(aBuffer), 128, reinterpret_cast<const wchar_t *>(m_aOutFormat.getStr()), fValue ); else - snwprintf( reinterpret_cast<wchar_t *>(aBuffer), 128, reinterpret_cast<const wchar_t *>(m_aOutFormat.getStr()), sal_Int32( fValue )); + _snwprintf( reinterpret_cast<wchar_t *>(aBuffer), 128, reinterpret_cast<const wchar_t *>(m_aOutFormat.getStr()), sal_Int32( fValue )); sal_Int32 nSize = rtl_ustr_getLength( aBuffer ); return OUString( aBuffer, nSize ); |