diff options
author | Christian Lippka <cl@openoffice.org> | 2001-01-17 17:50:09 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-01-17 17:50:09 +0000 |
commit | d5b6570a950a650dd40a8c9ba9b4231ab203cb8f (patch) | |
tree | a4871f89ff00c68d61f9e9a6f7129104a9a97a1a /svx/source/unoedit/unotext.cxx | |
parent | 7e5d976998c7dc1ec66b57f3d6b0302f253ae0b1 (diff) |
added missing guard
Diffstat (limited to 'svx/source/unoedit/unotext.cxx')
-rw-r--r-- | svx/source/unoedit/unotext.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/unoedit/unotext.cxx b/svx/source/unoedit/unotext.cxx index 822647bb59fb..c639a2fba0b2 100644 --- a/svx/source/unoedit/unotext.cxx +++ b/svx/source/unoedit/unotext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unotext.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: cl $ $Date: 2001-01-17 17:58:25 $ + * last change: $Author: cl $ $Date: 2001-01-17 18:50:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1374,6 +1374,8 @@ void SAL_CALL SvxUnoText::insertControlCharacter( const uno::Reference< text::XT void SAL_CALL SvxUnoText::insertTextContent( const uno::Reference< text::XTextRange >& xRange, const uno::Reference< text::XTextContent >& xContent, sal_Bool bAbsorb ) throw(lang::IllegalArgumentException, uno::RuntimeException) { + OGuard aGuard( Application::GetSolarMutex() ); + SvxUnoTextRangeBase* pRange = SvxUnoTextRange::getImplementation( xRange ); SvxUnoTextField* pField = SvxUnoTextField::getImplementation( xContent ); |