diff options
Diffstat (limited to 'xfa/fde')
-rw-r--r-- | xfa/fde/css/fde_csssyntax.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fde/css/fde_csssyntax.cpp b/xfa/fde/css/fde_csssyntax.cpp index f948b58e71..4583595686 100644 --- a/xfa/fde/css/fde_csssyntax.cpp +++ b/xfa/fde/css/fde_csssyntax.cpp @@ -426,7 +426,7 @@ void CFDE_CSSTextBuf::Reset() { FX_BOOL CFDE_CSSTextBuf::AttachBuffer(const FX_WCHAR* pBuffer, int32_t iBufLen) { Reset(); - m_pBuffer = (FX_WCHAR*)pBuffer; + m_pBuffer = const_cast<FX_WCHAR*>(pBuffer); m_iDatLen = m_iBufLen = iBufLen; return m_bExtBuf = TRUE; } |