summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-08-11 14:42:13 +0000
committerOliver Bolte <obo@openoffice.org>2004-08-11 14:42:13 +0000
commit64e6105eadca456568b8cf0bc4d67a077e413dd9 (patch)
tree5d8a0de6561b3e157184b34dd521b6feff914f5c
parent081128003c527509b3a33ed23b6d44d509a4c5ee (diff)
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
-rw-r--r--sw/source/core/unocore/unodraw.cxx6
1 files changed, 3 insertions, 3 deletions
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();