summaryrefslogtreecommitdiff
path: root/basic/source/classes/propacc.cxx
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-01-18 15:05:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-01-20 09:03:45 +0100
commitbca1b74c0753f2305a5e234293df88aa3e1d9af0 (patch)
tree16732572c6e15dbd5a2f4e50a2451efc836e3a2d /basic/source/classes/propacc.cxx
parent35a564864e6ce08abfa4924e1ea9314982e7957c (diff)
improve some IllegalArgumentException messages
Change-Id: Id88f2a82bf2651e8b5895aa330f32b71ff5b0e48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109546 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/classes/propacc.cxx')
-rw-r--r--basic/source/classes/propacc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx
index e4765fa2249c..287eda3882eb 100644
--- a/basic/source/classes/propacc.cxx
+++ b/basic/source/classes/propacc.cxx
@@ -136,7 +136,7 @@ Sequence< PropertyValue > SbPropertyValues::getPropertyValues()
void SbPropertyValues::setPropertyValues(const Sequence< PropertyValue >& rPropertyValues )
{
if (!m_aPropVals.empty())
- throw IllegalArgumentException();
+ throw IllegalArgumentException("m_aPropVals not empty", static_cast<cppu::OWeakObject*>(this), -1);
for (const PropertyValue& i : rPropertyValues)
{