summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-02-01 16:00:59 +0100
committerAndras Timar <atimar@suse.com>2012-02-01 16:00:59 +0100
commite1e8bd19a6acf5526f6bb3d9006ecb37ff01c89d (patch)
tree6861c834418f9a8bb58d10fb854f76da8371b39b /vcl
parentByteString -> OUString (diff)
downloadcore-e1e8bd19a6acf5526f6bb3d9006ecb37ff01c89d.tar.gz
core-e1e8bd19a6acf5526f6bb3d9006ecb37ff01c89d.zip
kill ByteString by dropping support of Win9x
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/source/window/salframe.cxx6
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()) )
}
// -----------------------------------------------------------------------