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

coverity#983928 Uncaught exception

Change-Id: Ib3b25a0aab2389be68fc8339f9b08a87de419b33
üst a288bebb
......@@ -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.
......
......@@ -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();
......
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