From a8e1248e125985a316a5735c1673186fcbdb48b0 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Tue, 24 Aug 2004 09:29:58 +0000 Subject: #i10000# RuntimeException originates in com::sun::star::uno, not beans --- sw/source/core/unocore/unodraw.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index 9dbbe4807c39..6ac422684135 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unodraw.cxx,v $ * - * $Revision: 1.57 $ + * $Revision: 1.58 $ * - * last change: $Author: rt $ $Date: 2004-08-23 08:13:14 $ + * last change: $Author: rt $ $Date: 2004-08-24 10:29:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1700,7 +1700,7 @@ void SwXShape::setPropertyToDefault( const rtl::OUString& rPropertyName ) if(pMap) { if ( pMap->nFlags & beans::PropertyAttribute::READONLY) - throw beans::RuntimeException( rtl::OUString ( RTL_CONSTASCII_USTRINGPARAM ( "Property is read-only: " ) ) + rPropertyName, static_cast < cppu::OWeakObject * > ( this ) ); + throw uno::RuntimeException( rtl::OUString ( RTL_CONSTASCII_USTRINGPARAM ( "Property is read-only: " ) ) + rPropertyName, static_cast < cppu::OWeakObject * > ( this ) ); if(pFmt) { const SfxItemSet& rSet = pFmt->GetAttrSet(); -- cgit v1.2.3