coverity#737507 Uncaught exception

Change-Id: Id035849f94bfb5e6ba7f5463a6a548bf88b77e85
This commit is contained in:
Caolán McNamara
2014-02-24 13:34:08 +00:00
parent 42d46144df
commit f10e4ce1ed
2 changed files with 5 additions and 2 deletions

View File

@@ -511,7 +511,9 @@ public:
virtual ~ScDataPilotFieldObj();
// XNamed
virtual OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException);
virtual OUString SAL_CALL getName()
throw (::com::sun::star::uno::RuntimeException,
std::exception);
virtual void SAL_CALL setName( const OUString& aName )
throw(::com::sun::star::uno::RuntimeException);

View File

@@ -1845,7 +1845,8 @@ ScDataPilotFieldObj::~ScDataPilotFieldObj()
// XNamed
OUString SAL_CALL ScDataPilotFieldObj::getName() throw(RuntimeException)
OUString SAL_CALL ScDataPilotFieldObj::getName()
throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
OUString aName;