diff options
author | Andras Timar <atimar@suse.com> | 2012-02-01 16:00:59 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-02-01 16:00:59 +0100 |
commit | e1e8bd19a6acf5526f6bb3d9006ecb37ff01c89d (patch) | |
tree | 6861c834418f9a8bb58d10fb854f76da8371b39b /vcl | |
parent | 56549a939cdf3a2510bbdba21b72632a4f238cf5 (diff) |
kill ByteString by dropping support of Win9x
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 6c8dce8cf6a3..c21f95b2dc0f 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -1107,11 +1107,7 @@ void WinSalFrame::SetTitle( const rtl::OUString& rTitle ) { DBG_ASSERT( sizeof( WCHAR ) == sizeof( xub_Unicode ), "WinSalFrame::SetTitle(): WCHAR != sal_Unicode" ); - if ( !SetWindowTextW( mhWnd, reinterpret_cast<LPCWSTR>(rTitle.getStr()) ) ) - { - ByteString aAnsiTitle = ImplSalGetWinAnsiString( rTitle ); - SetWindowTextA( mhWnd, aAnsiTitle.GetBuffer() ); - } + SetWindowTextW( mhWnd, reinterpret_cast<LPCWSTR>(rTitle.getStr()) ) } // ----------------------------------------------------------------------- |