summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/XPropertyTable.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-27 09:25:45 +0200
committerNoel Grandin <noel@peralex.com>2014-05-27 10:50:02 +0200
commit7c81ce73deaae70cc498f39a66decae85bcb38d0 (patch)
tree6b3f54606b24b30ed740d281f78653177e612481 /svx/source/unodraw/XPropertyTable.cxx
parent63727c2f0fd1eebc01ab4d104486982bcfaa4c5a (diff)
cid#707234 Uncaught exception
Change-Id: I1c6bf752deafeb445bbe7132c851fe5e84be3ca4
Diffstat (limited to 'svx/source/unodraw/XPropertyTable.cxx')
-rw-r--r--svx/source/unodraw/XPropertyTable.cxx6
1 files changed, 3 insertions, 3 deletions
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());