Kaydet (Commit) 30695293 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1158401 Uncaught exception

Change-Id: I5066b2dbf935157869fdec5ae588df649e63b6ba
üst 70abaf45
...@@ -36,8 +36,7 @@ private: ...@@ -36,8 +36,7 @@ private:
XColorListRef pList; XColorListRef pList;
public: public:
SvxUnoColorTable() throw(); SvxUnoColorTable();
virtual ~SvxUnoColorTable() throw();
// XServiceInfo // XServiceInfo
virtual OUString SAL_CALL getImplementationName() throw( uno::RuntimeException ); virtual OUString SAL_CALL getImplementationName() throw( uno::RuntimeException );
...@@ -63,15 +62,11 @@ public: ...@@ -63,15 +62,11 @@ public:
virtual sal_Bool SAL_CALL hasElements() throw( uno::RuntimeException); virtual sal_Bool SAL_CALL hasElements() throw( uno::RuntimeException);
}; };
SvxUnoColorTable::SvxUnoColorTable() throw() SvxUnoColorTable::SvxUnoColorTable()
{ {
pList = XPropertyList::CreatePropertyList( XCOLOR_LIST, SvtPathOptions().GetPalettePath(), "" )->AsColorList(); pList = XPropertyList::CreatePropertyList( XCOLOR_LIST, SvtPathOptions().GetPalettePath(), "" )->AsColorList();
} }
SvxUnoColorTable::~SvxUnoColorTable() throw()
{
}
sal_Bool SAL_CALL SvxUnoColorTable::supportsService( const OUString& ServiceName ) throw(uno::RuntimeException) sal_Bool SAL_CALL SvxUnoColorTable::supportsService( const OUString& ServiceName ) throw(uno::RuntimeException)
{ {
return cppu::supportsService( this, ServiceName ); return cppu::supportsService( this, ServiceName );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment