diff options
author | Thomas Lange <tl@openoffice.org> | 2002-09-12 12:17:51 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2002-09-12 12:17:51 +0000 |
commit | 3070df5d6f38ad96dfae338002e5bd3d6b890d5a (patch) | |
tree | 39ecc338b048f187da4c60c60533fa33e3fe8c2d /sw/source/core/unocore/unoport.cxx | |
parent | 6366efa0062b0aed9411f2387dc87e43a8ed383d (diff) |
#97507# 'attach' implemented where missing
Diffstat (limited to 'sw/source/core/unocore/unoport.cxx')
-rw-r--r-- | sw/source/core/unocore/unoport.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sw/source/core/unocore/unoport.cxx b/sw/source/core/unocore/unoport.cxx index edd5d28fc174..feb99065a8df 100644 --- a/sw/source/core/unocore/unoport.cxx +++ b/sw/source/core/unocore/unoport.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoport.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: tl $ $Date: 2002-08-14 11:06:48 $ + * last change: $Author: tl $ $Date: 2002-09-12 13:17:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -705,9 +705,13 @@ OUString SwXTextPortion::getPresentation(sal_Bool bShowCommand) throw( uno::Runt /*-- 11.12.98 09:56:59--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXTextPortion::attach(const uno::Reference< XTextRange > & xTextRange) throw( lang::IllegalArgumentException, uno::RuntimeException ) +void SwXTextPortion::attach(const uno::Reference< XTextRange > & xTextRange) + throw( lang::IllegalArgumentException, uno::RuntimeException ) { - + vos::OGuard aGuard(Application::GetSolarMutex()); + // SwXTextPortion cannot be created at the factory therefore + // they cannot be attached + throw uno::RuntimeException(); } /*-- 11.12.98 09:57:00--------------------------------------------------- |