summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-02-21 06:38:49 +0000
committerOliver Specht <os@openoffice.org>2001-02-21 06:38:49 +0000
commit646acf80caf00cbef4eea6f164cff5b6501a73a9 (patch)
tree932a0bb0c185d7174e9cfdb2bd87a82a8768ad40 /sw/source/ui
parentc7fe48c34eda61236bd616217f0448cc0887215f (diff)
#84182# missing mutex added in ::refresh
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/uno/unotxdoc.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx
index 7c01d9fdc7ee..3986a842a175 100644
--- a/sw/source/ui/uno/unotxdoc.cxx
+++ b/sw/source/ui/uno/unotxdoc.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unotxdoc.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: os $ $Date: 2001-02-19 08:25:59 $
+ * last change: $Author: os $ $Date: 2001-02-21 07:38:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2109,6 +2109,7 @@ Reference< XEnumerationAccess > SwXTextDocument::getRedlines( ) throw(RuntimeEx
-----------------------------------------------------------------------*/
void SwXTextDocument::refresh(void) throw( RuntimeException )
{
+ ::vos::OGuard aGuard(Application::GetSolarMutex());
if(!IsValid())
throw RuntimeException();
SwWrtShell *pWrtShell = pDocShell->GetWrtShell();