From 7c81ce73deaae70cc498f39a66decae85bcb38d0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 May 2014 09:25:45 +0200 Subject: cid#707234 Uncaught exception Change-Id: I1c6bf752deafeb445bbe7132c851fe5e84be3ca4 --- svx/source/unodraw/XPropertyTable.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svx') diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx index 908b032efa8c..15bc1ecdf35e 100644 --- a/svx/source/unodraw/XPropertyTable.cxx +++ b/svx/source/unodraw/XPropertyTable.cxx @@ -54,7 +54,7 @@ public: virtual ~SvxUnoXPropertyTable() throw(); - virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw() = 0; + virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw(uno::RuntimeException) = 0; virtual XPropertyEntry* getEntry( const OUString& rName, const uno::Any& rAny ) const throw(uno::RuntimeException, lang::IllegalArgumentException) = 0; // XServiceInfo @@ -635,7 +635,7 @@ public: SvxUnoXBitmapTable( XPropertyList* pTable ) throw() : SvxUnoXPropertyTable( XATTR_FILLBITMAP, pTable ) {}; // SvxUnoXPropertyTable - virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw() SAL_OVERRIDE; + virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw(uno::RuntimeException) SAL_OVERRIDE; virtual XPropertyEntry* getEntry( const OUString& rName, const uno::Any& rAny ) const throw(uno::RuntimeException) SAL_OVERRIDE; // XElementAccess @@ -652,7 +652,7 @@ uno::Reference< uno::XInterface > SAL_CALL SvxUnoXBitmapTable_createInstance( XP } // SvxUnoXPropertyTable -uno::Any SvxUnoXBitmapTable::getAny( const XPropertyEntry* pEntry ) const throw() +uno::Any SvxUnoXBitmapTable::getAny( const XPropertyEntry* pEntry ) const throw(uno::RuntimeException) { OUString aURL( UNO_NAME_GRAPHOBJ_URLPREFIX); const GraphicObject& rGraphicObject(((XBitmapEntry*)pEntry)->GetGraphicObject()); -- cgit