From 64e6105eadca456568b8cf0bc4d67a077e413dd9 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Wed, 11 Aug 2004 14:42:13 +0000 Subject: INTEGRATION: CWS tleamisc (1.52.180); FILE MERGED 2004/07/16 14:59:21 tl 1.52.180.2: RESYNC: (1.52-1.53); FILE MERGED 2004/05/28 07:34:23 tl 1.52.180.1: #i24707# PropertyVetoException in setPropert{y|ies}ToDefault replaced be RunTimeException --- sw/source/core/unocore/unodraw.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/core') diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index e962cbf9df9a..7a2bd389c6e9 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.55 $ + * $Revision: 1.56 $ * - * last change: $Author: kz $ $Date: 2004-08-02 14:17:49 $ + * last change: $Author: obo $ $Date: 2004-08-11 15:42:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1543,7 +1543,7 @@ void SwXShape::setPropertyToDefault( const OUString& rPropertyName ) if(pMap) { if ( pMap->nFlags & PropertyAttribute::READONLY) - throw PropertyVetoException ( OUString ( RTL_CONSTASCII_USTRINGPARAM ( "Property is read-only: " ) ) + rPropertyName, static_cast < cppu::OWeakObject * > ( this ) ); + throw RuntimeException( OUString ( RTL_CONSTASCII_USTRINGPARAM ( "setPropertyToDefault: property is read-only: " ) ) + rPropertyName, static_cast < cppu::OWeakObject * > ( this ) ); if(pFmt) { const SfxItemSet& rSet = pFmt->GetAttrSet(); -- cgit v1.2.3