diff options
author | Ingrid Halama <iha@openoffice.org> | 2010-05-26 17:39:17 +0200 |
---|---|---|
committer | Ingrid Halama <iha@openoffice.org> | 2010-05-26 17:39:17 +0200 |
commit | dbabefbcf1457f88d58c205c1da1630671ba9efd (patch) | |
tree | f3cf8b06d65bbc76fed02cfba34a15b4e9455dcf /chart2/source/model/main/FormattedString.cxx | |
parent | 7ac5261f789e58e489652ed988319568185b681b (diff) |
chart47: #i86555# prevent deadlock while changing title vie API
Diffstat (limited to 'chart2/source/model/main/FormattedString.cxx')
-rw-r--r-- | chart2/source/model/main/FormattedString.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chart2/source/model/main/FormattedString.cxx b/chart2/source/model/main/FormattedString.cxx index ae810266df29..9d38fafd3cf7 100644 --- a/chart2/source/model/main/FormattedString.cxx +++ b/chart2/source/model/main/FormattedString.cxx @@ -122,11 +122,13 @@ uno::Reference< util::XCloneable > SAL_CALL FormattedString::createClone() void SAL_CALL FormattedString::setString( const ::rtl::OUString& String ) throw (uno::RuntimeException) { - // /-- - MutexGuard aGuard( GetMutex()); - m_aString = String; + { + MutexGuard aGuard( GetMutex()); + m_aString = String; + } + //don't keep the mutex locked while calling out fireModifyEvent(); - // \-- + } // ____ XModifyBroadcaster ____ |