diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 111bfeafb9dc..dca67c9704fa 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -1925,7 +1925,7 @@ void WinSalFrame::SetApplicationID( const OUString &rApplicationID ) PROPVARIANT pv; if ( !rApplicationID.isEmpty() ) { - hr = InitPropVariantFromString( rApplicationID.getStr(), &pv ); + hr = InitPropVariantFromString( ( PCWSTR )rApplicationID.getStr(), &pv ); mbPropertiesStored = TRUE; } else