coverity#983928 Uncaught exception

Change-Id: Ib3b25a0aab2389be68fc8339f9b08a87de419b33
This commit is contained in:
Caolán McNamara 2014-06-13 13:07:52 +01:00
parent a288bebbce
commit 120a04d678
2 changed files with 4 additions and 4 deletions

View file

@ -40,10 +40,10 @@ class SVX_DLLPUBLIC SvxUnoDrawPool : public ::cppu::OWeakAggObject,
public comphelper::PropertySetHelper
{
public:
SvxUnoDrawPool( SdrModel* pModel, sal_Int32 nServiceId ) throw();
SvxUnoDrawPool(SdrModel* pModel, sal_Int32 nServiceId);
/** deprecated */
SvxUnoDrawPool( SdrModel* pModel ) throw();
SvxUnoDrawPool(SdrModel* pModel);
virtual ~SvxUnoDrawPool() throw();
/** This returns the item pool from the given model, or the default pool if there is no model and bReadOnly is true.

View file

@ -44,14 +44,14 @@ using namespace ::com::sun::star;
using namespace ::rtl;
using namespace ::cppu;
SvxUnoDrawPool::SvxUnoDrawPool( SdrModel* pModel, sal_Int32 nServiceId ) throw()
SvxUnoDrawPool::SvxUnoDrawPool(SdrModel* pModel, sal_Int32 nServiceId)
: PropertySetHelper( SvxPropertySetInfoPool::getOrCreate( nServiceId ) ), mpModel( pModel )
{
init();
}
/* deprecated */
SvxUnoDrawPool::SvxUnoDrawPool( SdrModel* pModel ) throw()
SvxUnoDrawPool::SvxUnoDrawPool(SdrModel* pModel)
: PropertySetHelper( SvxPropertySetInfoPool::getOrCreate( SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS ) ), mpModel( pModel )
{
init();