diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:43:03 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:43:03 +0100 |
commit | a3db321ecb1cf9f8c08476ecc699931b6111bc21 (patch) | |
tree | a24f3cc9f323720b081f804396f9b8ade4bff258 /vcl/source/window | |
parent | e625a440a4d17826677608ac430660374d2b7d4f (diff) |
Don't assume sal_Unicode is unsigned short
Change-Id: I7a741130689721c69fd2879be6bda27fc6ec3646
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/syschild.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/window/syschild.cxx b/vcl/source/window/syschild.cxx index 0615cf5f69e1..c9b84bf9232a 100644 --- a/vcl/source/window/syschild.cxx +++ b/vcl/source/window/syschild.cxx @@ -182,7 +182,8 @@ void SystemChildWindow::ImplTestJavaException( void* pEnv ) if(jsMessage) { const jchar * jcMessage = pJavaEnv->GetStringChars(jsMessage, nullptr); - ouMessage = OUString(jcMessage); + ouMessage = OUString( + reinterpret_cast<sal_Unicode const *>(jcMessage)); pJavaEnv->ReleaseStringChars(jsMessage, jcMessage); } |