summaryrefslogtreecommitdiff
path: root/svx/source/table/tablerow.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/table/tablerow.cxx
parent86bf3f8b69692a82fdf0d9d408f0690028e6e3e0 (diff)
give us a chance to see *which* property failed
Change-Id: If0c89760230eebc873bbc57511e44d7706af1c1e
Diffstat (limited to 'svx/source/table/tablerow.cxx')
-rw-r--r--svx/source/table/tablerow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/tablerow.cxx b/svx/source/table/tablerow.cxx
index 6984a8047544..8f96b59767ac 100644
--- a/svx/source/table/tablerow.cxx
+++ b/svx/source/table/tablerow.cxx
@@ -273,7 +273,7 @@ void SAL_CALL TableRow::setFastPropertyValue( sal_Int32 nHandle, const Any& aVal
}
default:
delete pUndo;
- throw UnknownPropertyException();
+ throw UnknownPropertyException( OUString::number(nHandle), static_cast<cppu::OWeakObject*>(this));
}
if( !bOk )
{
@@ -303,7 +303,7 @@ Any SAL_CALL TableRow::getFastPropertyValue( sal_Int32 nHandle ) throw (UnknownP
case Property_OptimalHeight: return Any( mbOptimalHeight );
case Property_IsVisible: return Any( mbIsVisible );
case Property_IsStartOfNewPage: return Any( mbIsStartOfNewPage );
- default: throw UnknownPropertyException();
+ default: throw UnknownPropertyException( OUString::number(nHandle), static_cast<cppu::OWeakObject*>(this));
}
}