summaryrefslogtreecommitdiff
path: root/toolkit/source/layout/core
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/layout/core')
-rw-r--r--toolkit/source/layout/core/localized-string.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/layout/core/localized-string.cxx b/toolkit/source/layout/core/localized-string.cxx
index 4ea6e3959a00..50451b0b85fb 100644
--- a/toolkit/source/layout/core/localized-string.cxx
+++ b/toolkit/source/layout/core/localized-string.cxx
@@ -61,7 +61,7 @@ uno::Any LocalizedString::queryInterface( uno::Type const& rType )
void LocalizedString::setText( OUString const& s )
throw(uno::RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
if ( Window *w = GetWindow() )
return w->SetText( s );
@@ -70,7 +70,7 @@ void LocalizedString::setText( OUString const& s )
OUString LocalizedString::getText()
throw(uno::RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
if ( Window *w = GetWindow() )
return w->GetText();