summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unopool.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-11-25 19:29:37 +0100
committerEike Rathke <erack@redhat.com>2016-11-25 20:04:40 +0100
commit6fee9755f6ec6f61c024af193adfc09eac6fd03e (patch)
treecf51399e8d4f3ee4f043dc93576d927d60f84caa /svx/source/unodraw/unopool.cxx
parent86bf3f8b69692a82fdf0d9d408f0690028e6e3e0 (diff)
give us a chance to see *which* property failed
Change-Id: If0c89760230eebc873bbc57511e44d7706af1c1e
Diffstat (limited to 'svx/source/unodraw/unopool.cxx')
-rw-r--r--svx/source/unodraw/unopool.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unopool.cxx b/svx/source/unodraw/unopool.cxx
index 74bc8e260143..2a56da4fbcca 100644
--- a/svx/source/unodraw/unopool.cxx
+++ b/svx/source/unodraw/unopool.cxx
@@ -207,7 +207,7 @@ void SvxUnoDrawPool::_setPropertyValues( const comphelper::PropertyMapEntry** pp
DBG_ASSERT( pPool, "I need a SfxItemPool!" );
if( nullptr == pPool )
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException( "no pool, no properties..", static_cast<cppu::OWeakObject*>(this));
while( *ppEntries )
putAny( pPool, *ppEntries++, *pValues++ );
@@ -222,7 +222,7 @@ void SvxUnoDrawPool::_getPropertyValues( const comphelper::PropertyMapEntry** pp
DBG_ASSERT( pPool, "I need a SfxItemPool!" );
if( nullptr == pPool )
- throw beans::UnknownPropertyException();
+ throw beans::UnknownPropertyException( "no pool, no properties..", static_cast<cppu::OWeakObject*>(this));
while( *ppEntries )
getAny( pPool, *ppEntries++, *pValue++ );