summaryrefslogtreecommitdiff
path: root/ucb/workben
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-13 02:47:36 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-25 19:55:33 -0500
commitf4f4a8ed4f56035cc9f536d00f62a552af974cf0 (patch)
treee247bfb2431e1413704de1286952e8e5d6eb1bfd /ucb/workben
parent3a81649a55a49705d907a6ee72c92e26d2d4f2ee (diff)
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'ucb/workben')
-rw-r--r--ucb/workben/ucb/ucbdemo.cxx6
1 files changed, 3 insertions, 3 deletions
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();