diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:42:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:42:16 +0100 |
commit | 34c254f64b5a5d52cdca94080089e4ef2bcf7b5c (patch) | |
tree | 17f5a5b8810ba0a768313f9d7c33d7042fddc48f /sw/source/filter/ww8/ww8par.cxx | |
parent | 50d31b204fc39765f57737587ed9792c4fc97c00 (diff) |
Don't assume sal_Unicode is unsigned short
Change-Id: I3411c688361e95b4c72b5257cdd63b137dab0538
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 00c39fa9f2eb..0fe320c3aa25 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -5597,7 +5597,7 @@ namespace sal_Int32 nLen = sUniPassword.getLength(); if ( nLen <= 15 ) { - sal_Unicode pPassword[16]; + sal_uInt16 pPassword[16]; memset( pPassword, 0, sizeof( pPassword ) ); for( sal_Int32 nChar = 0; nChar < nLen; ++nChar ) pPassword[nChar] = sUniPassword[nChar]; |