From f4f4a8ed4f56035cc9f536d00f62a552af974cf0 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Wed, 13 Oct 2010 02:47:36 -0500 Subject: use SolarMutexGuard to guard the SolarMutex --- ucb/workben/ucb/ucbdemo.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ucb') diff --git a/ucb/workben/ucb/ucbdemo.cxx b/ucb/workben/ucb/ucbdemo.cxx index 32f253f1be47..60f7129cc3ec 100644 --- a/ucb/workben/ucb/ucbdemo.cxx +++ b/ucb/workben/ucb/ucbdemo.cxx @@ -159,7 +159,7 @@ void MessagePrinter::print( const sal_Char* pText ) //------------------------------------------------------------------------- void MessagePrinter::print( const UniString& rText ) { - vos::OGuard aGuard( Application::GetSolarMutex() ); + SolarMutexGuard aGuard; if ( m_pOutEdit ) { @@ -2100,7 +2100,7 @@ void MyWin::print( const sal_Char* pText ) //------------------------------------------------------------------------- void MyWin::print( const UniString& rText ) { - vos::OGuard aGuard( Application::GetSolarMutex() ); + SolarMutexGuard aGuard; if ( m_pOutEdit ) { @@ -2121,7 +2121,7 @@ IMPL_LINK( MyWin, ToolBarHandler, ToolBox*, pToolBox ) { case MYWIN_ITEMID_CLEAR: { - vos::OGuard aGuard( Application::GetSolarMutex() ); + SolarMutexGuard aGuard; m_pOutEdit->Clear(); m_pOutEdit->Show(); -- cgit