diff options
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); } |