diff options
Diffstat (limited to 'vcl/workben/svpclient.cxx')
-rw-r--r-- | vcl/workben/svpclient.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx index 39f97c476051..47af3aaa8e30 100644 --- a/vcl/workben/svpclient.cxx +++ b/vcl/workben/svpclient.cxx @@ -147,7 +147,7 @@ public: void Paint( const Rectangle& rRect ); void Resize(); - BOOL Close(); + sal_Bool Close(); void parseList( const rtl::OString& rList ); rtl::OString processCommand( const rtl::OString& rCommand ); @@ -196,9 +196,9 @@ MyWin::MyWin( Window* pParent, WinBits nWinStyle ) : m_aQuitButton.Show(); } -BOOL MyWin::Close() +sal_Bool MyWin::Close() { - BOOL bRet = WorkWindow::Close(); + sal_Bool bRet = WorkWindow::Close(); if( bRet ) Application::Quit(); return bRet; @@ -279,7 +279,7 @@ IMPL_LINK( MyWin, QuitHdl, Button*, ) IMPL_LINK( MyWin, SelectHdl, ListBox*, ) { String aEntry = m_aSvpBitmaps.GetSelectEntry(); - USHORT nPos = aEntry.SearchAscii( ": " ); + sal_uInt16 nPos = aEntry.SearchAscii( ": " ); if( nPos != STRING_NOTFOUND ) { OStringBuffer aCommand( 64 ); @@ -298,7 +298,7 @@ IMPL_LINK( MyWin, SelectHdl, ListBox*, ) aFixedSize.Width() += 10; aFixedSize.Height() += 10; m_aImage.SetSizePixel( aFixedSize ); - m_aImage.SetBitmap( BitmapEx( aBitmap ) ); + m_aImage.SetImage( Image( BitmapEx( aBitmap ) ) ); } return 0; } |